1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-25 16:33:08 +01: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)