fossasia/searss

Name: searss

Owner: FOSSASIA

Description: Search to RSS tool

Created: 2016-11-19 06:38:37.0

Updated: 2018-05-24 16:37:45.0

Pushed: 2017-03-03 08:24:48.0

Homepage: null

Size: 727

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

____  _______  _______  ______    _______  _______ 
    ||       ||   _   ||    _ |  |       ||       |
____||    ___||  |_|  ||   | ||  |  _____||  _____|
____ |   |___ |       ||   |_||_ | |_____ | |_____ 
__  ||    ___||       ||    __  ||_____  ||_____  |
__| ||   |___ |   _   ||   |  | | _____| | _____| |
____||_______||__| |__||___|  |_||_______||_______|
Search To RSS Tool
The goal of this mini-tool is to gather search results and store them as RSS feeds on a server.

Dependencies
Installing
  1. Clone this repository git clone https://github.com/fossasia/searss
  2. cd into directory cd searss
  3. Install requirements using pip install -r requirements.txt
Usage and Options

Run python rss-generator.py -h to view the help menu.

onal arguments:
, --help            show this help message and exit
, --google              Set search engine as Google
, --bing                Set search engine as Bing
dg, --duckduckgo          Set search engine as DuckDuckGo
sk, --askcom            Set search engine as Ask.com
, --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.

thon rss-generator.py   
lect the search engine (0 for google / 1 for duckduckgo / 2 for bing / 3 for ask.com): 0
at do you want to search for ? >> xkcd comics
Piping into files

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.