aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/subscriptions.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-08 17:28:11 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-08 17:28:11 -0700
commitbd343ed71f628e0f1dd1eb3f45fb4e04887f223f (patch)
tree72f9de0764b920b5d464290da68244f5ee8caa6d /youtube/subscriptions.py
parentfb1a3531c59f5d9cee406295bbe006730695c249 (diff)
downloadyt-local-bd343ed71f628e0f1dd1eb3f45fb4e04887f223f.tar.lz
yt-local-bd343ed71f628e0f1dd1eb3f45fb4e04887f223f.tar.xz
yt-local-bd343ed71f628e0f1dd1eb3f45fb4e04887f223f.zip
Extraction: Move channel extraction to yt_data_extract
Diffstat (limited to 'youtube/subscriptions.py')
-rw-r--r--youtube/subscriptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py
index 56bdf93..175622f 100644
--- a/youtube/subscriptions.py
+++ b/youtube/subscriptions.py
@@ -455,7 +455,7 @@ def _get_upstream_videos(channel_id):
print('Failed to read atoma feed for ' + channel_status_name)
traceback.print_exc()
- videos = channel.extract_info(json.loads(channel_tab), 'videos')['items']
+ videos = yt_data_extract.extract_channel_info(json.loads(channel_tab), 'videos')['items']
for i, video_item in enumerate(videos):
if 'description' not in video_item:
video_item['description'] = ''