Skip to content

Commit

Permalink
[youtube] Improve signature cipher extraction (closes #25188)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and pareronia committed Jun 22, 2020
1 parent 666d97b commit db72407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,7 @@ def _extract_filesize(media_url):
url = url_or_none(fmt.get('url'))

if not url:
cipher = fmt.get('cipher')
cipher = fmt.get('cipher') or fmt.get('signatureCipher')
if not cipher:
continue
url_data = compat_parse_qs(cipher)
Expand Down

0 comments on commit db72407

Please sign in to comment.