Package: tube-cast
Tube-CastA command-line tool that converts YouTube videos into Anchor FM podcasts.InstallationCheck out this blog post for a step-by-step guide on installing python on windows-11How To Install Python 3 on Windows 11pip install tube-castUsage[user@ubuntu]$tube-cast]$tube-cast--help
Usage:tube-cast[OPTIONS]COMMAND[ARGS]...ConvertYouTubevideo(s)toAnchorFM

Options:-d,--draft-modeSavepodcastasdraft-t,--thumbnail_modeIncludeYouTubethumbnailinpodcast-u,--add-urlAddtheYouTubeURLTopodcastdescription-x,--is-explicitMarkpodcastasexplicit-h,--headless-mode--helpShowthismessageandexit.

Commands:youtube-channelTakesinaYouTubeChannelIDyoutube-idTakesinYouTubeIDSasargumentsyoutube-id-from-fileTakesinafilecontainingyoutubeid(oneperline)youtube-playlistTakesinaYouTubePlaylistIDEnvironment Variablestube-cast will prompt the user for their email and password to anchor.fm[user@ubuntu]$tube-castyoutube-id
Enteranchor.FMuseremail:Enteranchor.FMpassword:The prompt can be avoided by exporting them as environment variables:exportANCHOR_EMAIL='YOUR ANCHOR FM EMAIL HERE'exportANCHOR_PASSWORD='YOUR ANCHOR FM PASSWORD HERE'Roadmapadd better test caseadd better error catchinginclude podcast publish datecreate documentationTest tool in microsoft powershellmake available on pypiRunning it with WindowsMethod 1: pip installAssuming you have python and pip installed already, open Command Prompt or Windows PowershellRun this command:pip install tube-castOnce the install is done you can simply runpip listto double check the package was installed
run the command:clsto clear the command prompt/powershellYou should now be able to run tube-cast commands. To start run this command:tube-cast --helpMethod 2: github downloadSimply download and extract the github.With the folder open you can right click any white-space in the "tube-cast-main" folder and open in terminal, run this commandpip install .with Command Prompt simply copy the "tube-cast-main" folder path > open CMD type incdPastePath, you can now run this commandpip install .Note:Method 2 is good if you need to edit the program yourself. You'll simply edit the python files you need changed, follow the steps and instead of runningpip install .Youll be doingpip install . --upgradeDoing so will update the package with your desired changes.ContributorsAbeVraelotDemoClick hereto view a video demo on YouTube, or watch below:https://user-images.githubusercontent.com/82916197/176830848-dc5e7068-13ff-4d13-a9d7-055258692628.mp4ContributingFork itCreate your feature branchgit checkout -b my-new-featureCommit your changesgit commit -am 'Add some feature'Push to the branchgit push origin my-new-featureCreate new Pull RequestTestingTo test your changes generate a distribution package
To do so make sure you have the latest version of PyPA’s build installed:python3 -m pip install --upgrade buildNow run this command from the projects root directory:python3 -m buildThis command should output a lot of text and once completed should generate two files in the dist directory:dist/
  example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl
  example_package_YOUR_USERNAME_HERE-0.0.1.tar.gzHop into a Virtual Environment:python3 -m venv <DIR>
source <DIR>/bin/activateInstall the newly created packagepip install dist/tube-cast-<VERSION>.tar.gzKnown IssuesIf you discover any bugs, feel free to create an issue on GitHub or create a fork and
send a pull request.