_______ _______ _______ ______ _______ _______
| || || _ || _ | | || |
| _____|| ___|| |_| || | || | _____|| _____|
| |_____ | |___ | || |_||_ | |_____ | |_____
|_____ || ___|| || __ ||_____ ||_____ |
_____| || |___ | _ || | | | _____| | _____| |
|_______||_______||__| |__||___| |_||_______||_______|
- Clone this repository
git clone https://github.com/fossasia/searss
- cd into directory
cd searss
- Install requirements using
pip install -r requirements.txt
Run python rss-generator.py -h
to view the help menu.
optional arguments:
-h, --help show this help message and exit
-g, --google Set search engine as Google
-b, --bing Set search engine as Bing
-ddg, --duckduckgo Set search engine as DuckDuckGo
-ask, --askcom Set search engine as Ask.com
-q, --query Specify search query. eg : --query "xkcd comics"
If rss-generator.py
is run without any arguments, it will prompt you for the search engine and the query.
$ python rss-generator.py
$ Select the search engine (0 for google / 1 for duckduckgo / 2 for bing / 3 for ask.com): 0
$ What do you want to search for ? >> xkcd comics
To script the rss generator, pipe a query into rss-generator.py
and write the result to a file, for example:
python rss-generator.py --google --query "fossasia" > /tmp/fossasia.rss