From af2141f0c6c6848fd824080dfec9ec287eb5abf1 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Sat, 25 Apr 2020 19:26:39 -0700 Subject: [PATCH] remove debug prints --- youtube_dl/extractor/myrunningman.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/youtube_dl/extractor/myrunningman.py b/youtube_dl/extractor/myrunningman.py index ec6a1b255..15e2f1fb3 100644 --- a/youtube_dl/extractor/myrunningman.py +++ b/youtube_dl/extractor/myrunningman.py @@ -1,4 +1,3 @@ -from pprint import pprint from .common import InfoExtractor LABEL_SIZES={ @@ -25,7 +24,6 @@ class MyRunningManIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) data_url = self._html_search_regex(r'data-url="f([^"]+)"', webpage, "data-url") - pprint('https://feurl.com/api/source/{}'.format(data_url)) source = self._download_json('https://feurl.com/api/source/{}'.format(data_url),video_id, data='r=https%3A%2F%2Fwww.myrunningman.com%2Fcache%2Fstream%2Ff{}.html&d=feurl.com'.format(data_url).encode('utf-8')) assert source['success'] @@ -35,8 +33,6 @@ class MyRunningManIE(InfoExtractor): 'ext': d['type'], 'url': d['file'], }, **LABEL_SIZES.get(d['label'], {}))) - pprint(LABEL_SIZES.get(d['label'], {})) - pprint(d['label']) return { 'id': video_id,