Fix tumblr permission denied #22755

This commit is contained in:
rafinetiz 2019-10-18 21:17:00 +07:00
parent 0326bcb6c1
commit a4a199b4dc

View File

@ -165,7 +165,8 @@ class TumblrIE(InfoExtractor):
if iframe_url is None:
return self.url_result(redirect_url, 'Generic')
iframe = self._download_webpage(iframe_url, video_id, 'Downloading iframe page')
iframe = self._download_webpage(iframe_url, video_id, 'Downloading iframe page',
headers={'Referer': url})
duration = None
sources = []