From d1d908d5b1aadb0dc75b25df1a47789c021f89e2 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 19 Dec 2019 19:48:53 -0800 Subject: Extraction: Move html post processing stuff from yt_data_extract to util --- youtube/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/search.py') diff --git a/youtube/search.py b/youtube/search.py index a881557..0f6bbc4 100644 --- a/youtube/search.py +++ b/youtube/search.py @@ -80,8 +80,8 @@ def get_search_page(): return flask.render_template('error.html', error_message = search_info['error']) for extract_item_info in search_info['items']: - yt_data_extract.prefix_urls(extract_item_info) - yt_data_extract.add_extra_html_info(extract_item_info) + util.prefix_urls(extract_item_info) + util.add_extra_html_info(extract_item_info) corrections = search_info['corrections'] if corrections['type'] == 'did_you_mean': -- cgit v1.2.3