mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
[youtube] unescape html5player URLs for some videos
This commit is contained in:
parent
f1f2164e54
commit
7db225a581
@ -439,6 +439,7 @@ class YouTube(VideoExtractor):
|
||||
except:
|
||||
# VEVO
|
||||
if not self.html5player: return
|
||||
self.html5player = self.html5player.replace('\/', '/') # unescape URL (for age-restricted videos)
|
||||
self.js = get_content(self.html5player)
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user