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:
parent
201096182d
commit
9281a8547c
@ -57,6 +57,7 @@ class PornTrexIE(InfoExtractor):
|
|||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
|
self.report_extraction(video_id)
|
||||||
private_string = 'Only active members can watch private videos.'
|
private_string = 'Only active members can watch private videos.'
|
||||||
is_video_private_regex = re.compile(private_string)
|
is_video_private_regex = re.compile(private_string)
|
||||||
if re.findall(is_video_private_regex, webpage):
|
if re.findall(is_video_private_regex, webpage):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user