1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-28 15:10:27 +08:00

removed debig code from NickJRNL

removed some debug code from NickJR extractor
This commit is contained in:
wernerkarlheisenberg
2018-04-20 14:47:38 +02:00
Unverified
parent f855bfa7c1
commit 136edbed6e
-3
View File
@@ -245,9 +245,7 @@ class NickJrNLIE(NickBrIE):
webpage = self._download_webpage(url, display_id)
uri = self._search_regex(
r'data-contenturi="([^"]+)"', webpage, 'mgid')
print uri
video_id = self._id_from_uri(uri)
print video_id
config = self._download_json(
'http://media.mtvnservices.com/pmt/e1/access/index.html',
video_id, query={
@@ -257,5 +255,4 @@ class NickJrNLIE(NickBrIE):
'Referer': url,
})
info_url = self._remove_template_parameter(config['feedWithQueryParams'])
print info_url
return self._get_videos_info_from_url(info_url, video_id)