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

Go to the source code of this file.

Namespaces

namespace  searx
namespace  searx.engines
 ::1337x
namespace  searx.engines.rottentomatoes

Functions

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

Variables

dict searx.engines.rottentomatoes.about
list searx.engines.rottentomatoes.categories = ['movies']
str searx.engines.rottentomatoes.base_url = "https://www.rottentomatoes.com"
str searx.engines.rottentomatoes.results_xpath = "//search-page-media-row"
str searx.engines.rottentomatoes.url_xpath = "./a[1]/@href"
str searx.engines.rottentomatoes.title_xpath = "./a/img/@alt"
str searx.engines.rottentomatoes.thumbnail_xpath = "./a/img/@src"
str searx.engines.rottentomatoes.release_year_xpath = "concat('From ', string(./@releaseyear))"
str searx.engines.rottentomatoes.score_xpath = "concat('Score: ', string(./@tomatometerscore))"
str searx.engines.rottentomatoes.cast_xpath = "concat('Starring ', string(./@cast))"