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

issues fixed with KeyError 'ciper' #100

Closed CustomIcon closed 2 months ago

CustomIcon commented 4 years ago

Basically tested and seems working so yeah.. pr :))))

sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report (beta)

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 2.12 2.12 0.00
Method Length 43.53 43.53 0.00
Quality 8.81 8.81 0.00
Other metrics Before After Change
Lines 287 287 0
Changed files Quality Before Quality After Quality Change
pytube/extract.py 8.81 8.81 0.00

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Overall Recommendation
pytube/extract.py apply_descrambler 5 210.59 5.59 Split out functionality

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 by mentioning @sourcery-ai in a comment.

CustomIcon commented 4 years ago

oh no... typo... 'cipher'

hbmartin commented 2 months ago

Thanks!