1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-04 16:41:19 +00:00

[dumpert] Disable SSL (Closes #7504)

This commit is contained in:
Sergey M․ 2015-11-15 02:21:24 +06:00
parent 0c59d02bdc
commit dc0279532a

View file

@ -28,7 +28,7 @@ class DumpertIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(url) video_id = self._match_id(url)
url = 'https://www.dumpert.nl/mediabase/' + video_id url = 'http://www.dumpert.nl/mediabase/' + video_id
req = compat_urllib_request.Request(url) req = compat_urllib_request.Request(url)
req.add_header('Cookie', 'nsfw=1; cpc=10') req.add_header('Cookie', 'nsfw=1; cpc=10')
webpage = self._download_webpage(req, video_id) webpage = self._download_webpage(req, video_id)