Git Product home page Git Product logo

searss's Introduction

 _______  _______  _______  ______    _______  _______ 
|       ||       ||   _   ||    _ |  |       ||       |
|  _____||    ___||  |_|  ||   | ||  |  _____||  _____|
| |_____ |   |___ |       ||   |_||_ | |_____ | |_____ 
|_____  ||    ___||       ||    __  ||_____  ||_____  |
 _____| ||   |___ |   _   ||   |  | | _____| | _____| |
|_______||_______||__| |__||___|  |_||_______||_______|

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.

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.