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

@@ -142,8 +142,8 @@ def post_process_channel_info(info):
info['avatar'] = util.prefix_url(info['avatar'])
info['channel_url'] = util.prefix_url(info['channel_url'])
for item in info['items']:
yt_data_extract.prefix_urls(item)
yt_data_extract.add_extra_html_info(item)
util.prefix_urls(item)
util.add_extra_html_info(item)