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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.ina
 

Functions

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

Variables

dict searx.engines.ina.about
 
list searx.engines.ina.categories = ['videos']
 
bool searx.engines.ina.paging = True
 
int searx.engines.ina.page_size = 12
 
str searx.engines.ina.base_url = 'https://www.ina.fr'
 
str searx.engines.ina.search_url = base_url + '/ajax/recherche?{query}&espace=1&sort=pertinence&order=desc&offset={start}&modified=size'
 
str searx.engines.ina.results_xpath = '//div[@id="searchHits"]/div'
 
str searx.engines.ina.url_xpath = './/a/@href'
 
str searx.engines.ina.title_xpath = './/div[contains(@class,"title-bloc-small")]'
 
str searx.engines.ina.content_xpath = './/div[contains(@class,"sous-titre-fonction")]'
 
str searx.engines.ina.thumbnail_xpath = './/img/@data-src'
 
str searx.engines.ina.publishedDate_xpath = './/div[contains(@class,"dateAgenda")]'