aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-12-19 19:48:53 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-12-19 19:48:53 -0800
commitd1d908d5b1aadb0dc75b25df1a47789c021f89e2 (patch)
tree56a1a0e8361a732241774fee35ae521858d16d5f /youtube/watch.py
parent76376b29a0adf6bd6d7a0202d904f923bdc8aa57 (diff)
downloadyt-local-d1d908d5b1aadb0dc75b25df1a47789c021f89e2.tar.lz
yt-local-d1d908d5b1aadb0dc75b25df1a47789c021f89e2.tar.xz
yt-local-d1d908d5b1aadb0dc75b25df1a47789c021f89e2.zip
Extraction: Move html post processing stuff from yt_data_extract to util
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 69ab87b..45d658f 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -370,8 +370,8 @@ def get_watch_page():
}
for item in info['related_videos']:
- yt_data_extract.prefix_urls(item)
- yt_data_extract.add_extra_html_info(item)
+ util.prefix_urls(item)
+ util.add_extra_html_info(item)
if settings.gather_googlevideo_domains:
with open(os.path.join(settings.data_dir, 'googlevideo-domains.txt'), 'a+', encoding='utf-8') as f: