aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/chaturbate.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-06-03 04:30:33 +0700
committerSergey M․ <dstftw@gmail.com>2018-06-03 04:30:33 +0700
commit0a10f50e2f1fb8ed80a3707970ba44593cfff8eb (patch)
tree02caaea77ff4e2b81eb5b9e969e3b85d0003c105 /youtube_dl/extractor/chaturbate.py
parent6d155707e67dc9e3bc4e118dc7d6a06bf8af471f (diff)
downloadyoutube-dl-0a10f50e2f1fb8ed80a3707970ba44593cfff8eb.tar.xz
[chaturbate] Use geo verification headers
Diffstat (limited to 'youtube_dl/extractor/chaturbate.py')
-rw-r--r--youtube_dl/extractor/chaturbate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/chaturbate.py b/youtube_dl/extractor/chaturbate.py
index e3eba4be9..e2b828d8a 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 = []