.oO SearXNG Developer Documentation Oo.
|
Functions | |
request (query, params) | |
response (resp) | |
parse_next_page_response (response_text) | |
parse_first_page_response (response_text) | |
get_text_from_json (element) | |
Variables | |
dict | about |
list | categories = ['videos', 'music'] |
bool | paging = True |
bool | language_support = False |
bool | time_range_support = True |
str | base_url = 'https://www.youtube.com/results' |
str | search_url = base_url + '?search_query={query}&page={page}' |
str | time_range_url = '&sp=EgII{time_range}%253D%253D' |
str | next_page_url = 'https://www.youtube.com/youtubei/v1/search?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8' |
dict | time_range_dict = {'day': 'Ag', 'week': 'Aw', 'month': 'BA', 'year': 'BQ'} |
str | base_youtube_url = 'https://www.youtube.com/watch?v=' |
Youtube (Videos)
searx.engines.youtube_noapi.get_text_from_json | ( | element | ) |
Definition at line 169 of file youtube_noapi.py.
Referenced by searx.engines.youtube_noapi.parse_first_page_response().
searx.engines.youtube_noapi.parse_first_page_response | ( | response_text | ) |
Definition at line 112 of file youtube_noapi.py.
References searx.engines.youtube_noapi.get_text_from_json().
Referenced by searx.engines.youtube_noapi.response().
searx.engines.youtube_noapi.parse_next_page_response | ( | response_text | ) |
Definition at line 67 of file youtube_noapi.py.
Referenced by searx.engines.youtube_noapi.response().
searx.engines.youtube_noapi.request | ( | query, | |
params ) |
Definition at line 40 of file youtube_noapi.py.
searx.engines.youtube_noapi.response | ( | resp | ) |
Definition at line 61 of file youtube_noapi.py.
References searx.engines.youtube_noapi.parse_first_page_response(), and searx.engines.youtube_noapi.parse_next_page_response().
dict searx.engines.youtube_noapi.about |
Definition at line 13 of file youtube_noapi.py.
str searx.engines.youtube_noapi.base_url = 'https://www.youtube.com/results' |
Definition at line 29 of file youtube_noapi.py.
str searx.engines.youtube_noapi.base_youtube_url = 'https://www.youtube.com/watch?v=' |
Definition at line 36 of file youtube_noapi.py.
list searx.engines.youtube_noapi.categories = ['videos', 'music'] |
Definition at line 23 of file youtube_noapi.py.
bool searx.engines.youtube_noapi.language_support = False |
Definition at line 25 of file youtube_noapi.py.
str searx.engines.youtube_noapi.next_page_url = 'https://www.youtube.com/youtubei/v1/search?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8' |
Definition at line 33 of file youtube_noapi.py.
bool searx.engines.youtube_noapi.paging = True |
Definition at line 24 of file youtube_noapi.py.
str searx.engines.youtube_noapi.search_url = base_url + '?search_query={query}&page={page}' |
Definition at line 30 of file youtube_noapi.py.
dict searx.engines.youtube_noapi.time_range_dict = {'day': 'Ag', 'week': 'Aw', 'month': 'BA', 'year': 'BQ'} |
Definition at line 34 of file youtube_noapi.py.
bool searx.engines.youtube_noapi.time_range_support = True |
Definition at line 26 of file youtube_noapi.py.
str searx.engines.youtube_noapi.time_range_url = '&sp=EgII{time_range}%253D%253D' |
Definition at line 31 of file youtube_noapi.py.