[unauthorizedtv] Remove verbose debug
This commit is contained in:
parent
bca8b61c66
commit
158ebb2182
@ -23,9 +23,6 @@ class UnauthorizedTvIE(InfoExtractor):
|
|||||||
if "?cid=" in video_id:
|
if "?cid=" in video_id:
|
||||||
cid = int(video_id[video_id.find('=') + 1:])
|
cid = int(video_id[video_id.find('=') + 1:])
|
||||||
|
|
||||||
if self._downloader.params.get('verbose', False):
|
|
||||||
print(video_id)
|
|
||||||
|
|
||||||
html = self._download_webpage(url, video_id)
|
html = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
csrf_token = self._html_search_meta(
|
csrf_token = self._html_search_meta(
|
||||||
@ -47,9 +44,6 @@ class UnauthorizedTvIE(InfoExtractor):
|
|||||||
headers=headers
|
headers=headers
|
||||||
)
|
)
|
||||||
|
|
||||||
if self._downloader.params.get('verbose', False):
|
|
||||||
print(chaptersJson)
|
|
||||||
|
|
||||||
chapters = '&ids[]='.join([str(x) for x in chaptersJson['chapters']])
|
chapters = '&ids[]='.join([str(x) for x in chaptersJson['chapters']])
|
||||||
|
|
||||||
metadata = self._download_json(
|
metadata = self._download_json(
|
||||||
@ -67,11 +61,6 @@ class UnauthorizedTvIE(InfoExtractor):
|
|||||||
video_title = item['title']
|
video_title = item['title']
|
||||||
video_url = item['subject']['versions']['hls']
|
video_url = item['subject']['versions']['hls']
|
||||||
|
|
||||||
if self._downloader.params.get('verbose', False):
|
|
||||||
print(metadata)
|
|
||||||
print(video_title)
|
|
||||||
print(video_url)
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': video_title,
|
'title': video_title,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user