Extraction: Move html post processing stuff from yt_data_extract to util

This commit is contained in:
James Taylor
2019-12-19 19:48:53 -08:00
parent 76376b29a0
commit d1d908d5b1
9 changed files with 50 additions and 52 deletions

View File

@@ -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: