Skip to content

This is a website to mp3 converter. You only need to give it a complete website, and what you would like to name your mp3.

Notifications You must be signed in to change notification settings

katieannedavis/WebReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebReader


WebReader will convert a web page to a mp3 file. This program features Python 3's BeautifulSoup, requests, and gtts (Google text to speech) libraries. It uses requests to web scrape the text from a desired webpage. It then sends that text through BeautifulSoup to find all paragraph text. Finally, that text is arranged in a string and fed into gtts which produces the mp3 file. This program will create a directory called "WebReaderMp3s" in your "Music" directory or if that's missing, then your "Documents".

This program can read multiple languages. I have tested it in English, Spanish, and Korean.

The executable is available in the dist folder.

Required modules for development (Executable is independent of modules)

  • Requests (pip install requests)
  • BeautifulSoup (pip install BeautifulSoup4)
  • GTTS (pip install gTTS)

Packaging

Pyinstaller was used to make an executable of this file. The icon.ico has the multilayers needed for pyinstaller to make an icon that expands if the user chooses to have their icons a differ size. The command used to package this was:

  • pyinstaller -F --icon="icon.ico" WebReader.py

-F means one file

About

This is a website to mp3 converter. You only need to give it a complete website, and what you would like to name your mp3.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages