get-pytube / pytube3

A lightweight, dependency-free Python 3 library (and command-line utility) for downloading YouTube Videos.
https://pytube3.readthedocs.io
Other
178 stars 55 forks source link

Naive fix for Playlist returns empty list #90

Closed Maelstrom6 closed 3 years ago

Maelstrom6 commented 4 years ago

YouTube has updated their links on playlist web pages from an href tag to a JSON object. Changed the _video_regex to match.

sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report (beta)

Merging this PR leaves code quality unchanged.

Before After Change
Quality 8.91 8.91 0.0
Complexity 1.41 1.41 0.0
Method Length 40.03 40.03 0.0
Lines 230 230 0
Changed files Quality Before Quality After Quality Change
pytube/contrib/playlist.py 8.91 8.91 0.0

Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Let us know what you think of it via email or our Gitter!