X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/d88adeed4f0a22f14db3a2b3fd3c59b266b97a78..82abf0abb400fbf710e03be31cc8942c21a040be:/youtube_dl/extractor/veoh.py diff --git a/youtube_dl/extractor/veoh.py b/youtube_dl/extractor/veoh.py index fb132ae..9633f7f 100644 --- a/youtube_dl/extractor/veoh.py +++ b/youtube_dl/extractor/veoh.py @@ -5,9 +5,9 @@ import json from .common import InfoExtractor from ..utils import ( - compat_urllib_request, int_or_none, ExtractorError, + sanitized_Request, ) @@ -49,6 +49,7 @@ class VeohIE(InfoExtractor): 'description': 'md5:f5a11c51f8fb51d2315bca0937526891', 'uploader': 'newsy-videos', }, + 'skip': 'This video has been deleted.', }, ] @@ -107,7 +108,7 @@ class VeohIE(InfoExtractor): if 'class="adultwarning-container"' in webpage: self.report_age_confirmation() age_limit = 18 - request = compat_urllib_request.Request(url) + request = sanitized_Request(url) request.add_header('Cookie', 'confirmedAdult=true') webpage = self._download_webpage(request, video_id)