[chaturbate] Use geo verification headers
authorSergey M․ <dstftw@gmail.com>
Sat, 2 Jun 2018 21:30:33 +0000 (04:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 2 Jun 2018 21:30:33 +0000 (04:30 +0700)
youtube_dl/extractor/chaturbate.py

index e3eba4be94660759537e969701f9e043fff5b73d..e2b828d8afdada257b6b4f458022947522180642 100644 (file)
@@ -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 = []