1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-27 08:47:55 +01:00

Added extraction message to URL Extractor.

It looks better when the extractor informs the user that it is looking
at the file for data.
This commit is contained in:
nindogo 2019-04-20 21:52:26 +03:00
parent 201096182d
commit 9281a8547c

View File

@ -57,6 +57,7 @@ class PornTrexIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
self.report_extraction(video_id)
private_string = 'Only active members can watch private videos.'
is_video_private_regex = re.compile(private_string)
if re.findall(is_video_private_regex, webpage):