commit: 0a10f50e2f1fb8ed80a3707970ba44593cfff8eb
parent 6d155707e67dc9e3bc4e118dc7d6a06bf8af471f
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 3 Jun 2018 04:30:33 +0700
[chaturbate] Use geo verification headers
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/chaturbate.py b/youtube_dl/extractor/chaturbate.py
@@ -31,7 +31,8 @@ class ChaturbateIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
- webpage = self._download_webpage(url, video_id)
+ webpage = self._download_webpage(
+ url, video_id, headers=self.geo_verification_headers())
m3u8_urls = []