{ "info": { "author": "WEI HAITONG", "author_email": "loveweihaitong@foxmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet", "Topic :: Multimedia :: Video", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "betubedl (better-youtubed-downloader)\r\n==================================================\r\nA Python library for downloading YouTube videos\r\n\r\nDescription\r\n--------------------------------------\r\nYouTube is an American video-sharing website headquartered in San Bruno, California. YouTube allows users to upload, view, rate, share, add to favorites, report, comment on videos, and subscribe to other users. It primarily uses the VP9 and H.264/MPEG-4 AVC formats and Dynamic Adaptive streaming over HTTP to display a wide variety of user-generated and corporate media videos. Available content includes video clips, TV show clips, music videos, short and documentary films, audio recordings, movie trailers, live streams, and other content such as video blogging, short original videos, and educational videos. Most of the content on YouTube is uploaded by individuals, but media corporations including CBS, the BBC, Vevo, and Hulu offer some of their material via YouTube as part of the YouTube partnership program. Unregistered users can only watch videos on the site, while registered users are permitted to upload an unlimited number of videos and add comments to videos. Videos deemed potentially inappropriate are available only to registered users affirming themselves to be at least 18 years old.\r\n\r\nYoutube has a lot of excellent resources, based on this point and reference to the source of the pytube library, I write a lightweight python library. The library does not rely on third parties, crawling through the crawler youtube page and to download resources.\r\n\r\nInstallation\r\n--------------------------------------\r\n\r\nDownload using pip via pypi.\r\n\r\n`pip install betubedl`\r\n\r\nInstructions for use\r\n--------------------------------------\r\n\r\n```\r\n# import the module\r\nfrom betubedl import Better_Youtube_Downloader\r\n\r\n# I study in Korea, open youtube home page, all beautiful girls dancing, I also inevitably vulgar. Instantiate the object and pass the video URL you want to download as a parameter string to the instance\r\nbetubedl = Better_Youtube_Downloader('https://www.youtube.com/watch?v=t_sE1A8jEKE&list=PLy788G47tdSQnIp3Fip5NzP_qRMnD6Gd7')\r\n\r\n# Display all the contents of video files that can be downloaded\r\nprint betubedl.get_videos()\r\n\r\n # [,\r\n # ,\r\n # ,\r\n # ,\r\n # ,\r\n # ,\r\n # ,\r\n # ,\r\n # ]\r\n\r\n# Display video file name, when not set the file name, it will automatically crawl the original video name\r\nprint betubedl.getVideoName()\r\n\r\n# Set the video file name\r\nbetubedl.setVideoName(\"XXXXX\")\r\n\r\n# As the sort is by definition from low to high, so you can use the -1 index to the highest definition version, by screeningVideo () API instantiation video object.\r\nvideo = betubedl.screeningVideo(extension='mp4')[-1]\r\n\r\n# The get_video_url () API that calls the video object returns the filtered url address\r\nvideo.get_video_url()\r\n\r\n# The get_logo_url () API that calls the video object returns the cover map address of the crawled video\r\nvideo.get_logo_url()\r\n\r\n# Use video object download () API download to the specified path\r\nvideo.download('D://')\r\n```\r\n\r\n\r\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/WEIHAITONG1/better-youtube-downloader", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Betubedl", "package_url": "https://pypi.org/project/Betubedl/", "platform": "", "project_url": "https://pypi.org/project/Betubedl/", "project_urls": { "Homepage": "https://github.com/WEIHAITONG1/better-youtube-downloader" }, "release_url": "https://pypi.org/project/Betubedl/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A Python library for downloading YouTube videos.", "version": "1.0.0" }, "last_serial": 3496491, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "b9138bdaaa19c22718872b59f379370e", "sha256": "90a29d489851874e59d89c818fafecca0d7c928f237abd39f5eb2876b3ec5d6b" }, "downloads": -1, "filename": "Betubedl-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9138bdaaa19c22718872b59f379370e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16280, "upload_time": "2017-09-26T06:45:02", "url": "https://files.pythonhosted.org/packages/9f/08/ee4039332941940c0a476ea81b8dfa152b51c1419c8be05620c01295999e/Betubedl-0.2.0-py2.py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "07417b74622cf79b23201d3bf4b3b788", "sha256": "df1136659bc2000c079aa36dbdedde1605f9273612a5ee2ad90df34a9eb26122" }, "downloads": -1, "filename": "betubedl-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "07417b74622cf79b23201d3bf4b3b788", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16760, "upload_time": "2017-11-13T07:45:07", "url": "https://files.pythonhosted.org/packages/21/2b/0be7caff9a83a33bcf3ed5c1c2616208c4305e08ef1b5f25e7f84a51d0d0/betubedl-0.3.0-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "6e91092b69ebd0973791c16043b3b48e", "sha256": "3de9ddf8343a167c138f0979148b162329ea3052f2079af7b5ff3e0dc084287d" }, "downloads": -1, "filename": "betubedl-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e91092b69ebd0973791c16043b3b48e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17490, "upload_time": "2018-01-17T08:46:14", "url": "https://files.pythonhosted.org/packages/57/2e/551ff1a6ff7d64c3d2f31f6e29adf4ac04c5e6661a3206137e8f5cf429ed/betubedl-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6e91092b69ebd0973791c16043b3b48e", "sha256": "3de9ddf8343a167c138f0979148b162329ea3052f2079af7b5ff3e0dc084287d" }, "downloads": -1, "filename": "betubedl-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e91092b69ebd0973791c16043b3b48e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17490, "upload_time": "2018-01-17T08:46:14", "url": "https://files.pythonhosted.org/packages/57/2e/551ff1a6ff7d64c3d2f31f6e29adf4ac04c5e6661a3206137e8f5cf429ed/betubedl-1.0.0-py2.py3-none-any.whl" } ] }