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 bbepis committed May 14, 2020
1 parent edf5752 commit b88b89f
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 @@ -1971,7 +1971,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 b88b89f

Please sign in to comment.