mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 02:00:23 +00:00
remove print
This commit is contained in:
parent
54b31d149e
commit
a650110ba7
@ -21,7 +21,6 @@ def _real_extract(self, url):
|
|||||||
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)
|
||||||
|
|
||||||
# TODO more code goes here, for example ...
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'<title>\n90tv.ir :: (.*?)</title>', webpage, 'title')
|
r'<title>\n90tv.ir :: (.*?)</title>', webpage, 'title')
|
||||||
|
|
||||||
@ -29,8 +28,6 @@ def _real_extract(self, url):
|
|||||||
r'<source[^>]+src="([^"]+)"', webpage, 'video url')
|
r'<source[^>]+src="([^"]+)"', webpage, 'video url')
|
||||||
|
|
||||||
thumbnail = self._search_regex(r'poster="([^"]+)"', webpage, 'thumbnail url')
|
thumbnail = self._search_regex(r'poster="([^"]+)"', webpage, 'thumbnail url')
|
||||||
print thumbnail
|
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user