Skip to content

A feature-rich command-line audio/video downloader

[chaturbate] Use geo verification headers

Sergey M․0a10f50e2f1f
diff --git a/youtube_dl/extractor/chaturbate.py b/youtube_dl/extractor/chaturbate.py
index e3eba4be94..e2b828d8af 100644
--- 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 = []