.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
niconico.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
namespace  searx.engines
 ::1337x
namespace  searx.engines.niconico

Functions

 searx.engines.niconico.request (query, params)
 searx.engines.niconico.response (resp)

Variables

dict searx.engines.niconico.about
list searx.engines.niconico.categories = ["videos"]
bool searx.engines.niconico.paging = True
bool searx.engines.niconico.time_range_support = True
dict searx.engines.niconico.time_range_dict = {"day": 1, "week": 7, "month": 30, "year": 365}
str searx.engines.niconico.base_url = "https://www.nicovideo.jp"
str searx.engines.niconico.embed_url = "https://embed.nicovideo.jp"
str searx.engines.niconico.results_xpath = '//li[@data-video-item]'
str searx.engines.niconico.url_xpath = './/a[@class="itemThumbWrap"]/@href'
str searx.engines.niconico.video_length_xpath = './/span[@class="videoLength"]'
str searx.engines.niconico.upload_time_xpath = './/p[@class="itemTime"]//span[@class="time"]/text()'
str searx.engines.niconico.title_xpath = './/p[@class="itemTitle"]/a'
str searx.engines.niconico.content_xpath = './/p[@class="itemDescription"]/@title'
str searx.engines.niconico.thumbnail_xpath = './/img[@class="thumb"]/@src'