aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/search.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/search.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/search.py')
-rw-r--r--youtube/search.py4
1 files changed, 2 insertions, 2 deletions
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':