From 546a694df4dbbfb5cf38d97aa844f05582387f8c Mon Sep 17 00:00:00 2001 From: Cloud Chagnon Date: Thu, 11 Jan 2018 23:20:58 -0700 Subject: [PATCH] [weeklybeats] Cleaned up a bit --- youtube_dl/extractor/weeklybeats.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/youtube_dl/extractor/weeklybeats.py b/youtube_dl/extractor/weeklybeats.py index 7e81572d0..7410cd6ef 100644 --- a/youtube_dl/extractor/weeklybeats.py +++ b/youtube_dl/extractor/weeklybeats.py @@ -21,10 +21,8 @@ class WeeklyBeatsIE(InfoExtractor): def _real_extract(self, url): video_id = self._search_regex(r'https://weeklybeats.com/[^/]+/music/([^/]*)/?', url, 'video_id') - print(video_id) webpage = self._download_webpage(url, video_id) - # TODO more code goes here, for example ... return { 'id': video_id, 'title': self._search_regex(r']+property="og:title"[^>]+content="([^\"]+)"[^>]*>', webpage, 'title', fatal=False),