Skip to content

Commit

Permalink
[googledrive] Use redirect URLs for source format (closes #18877, closes
Browse files Browse the repository at this point in the history
 #23919, closes #24689, closes #26565)
  • Loading branch information
dstftw committed Sep 13, 2020
1 parent f1f1e9c commit 5e26784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/googledrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def add_source_format(urlh):
# Use redirect URLs as download URLs in order to calculate
# correct cookies in _calc_cookies.
# Using original URLs may result in redirect loop due to
# google.com's cookies mistakenly used for googleusercontent.com
# google.com's cookies mistakenly used for googleusercontent.com
# redirect URLs (see #23919).
'url': urlh.geturl(),
'ext': determine_ext(title, 'mp4').lower(),
Expand Down

0 comments on commit 5e26784

Please sign in to comment.