Code Monkey home page Code Monkey logo

goquotes's Introduction

Goquotes

goquotes is a simple Go scraper aimed at scrapping super-ultra-duper lit quotes, built on colly.

Usage

./goquotes <theme> [amount] [output]

Example

bash-3.2$ ./goquotes bird 30 birdquotes.json
Launching Scraper !
........................................Scrapped 40 quotes.

bash-3.2$ head birdquotes.json
[
  "“There is no greater agony than bearing an untold story inside you.”
 ― Maya AngelouI Know Why the Caged Bird Sings\n",
  "“I am no bird; and no net ensnares me: I am a free human being with
an independent will.” ― Charlotte BrontëJane Eyre\n",
  "“Hold fast to dreams,For if dreams dieLife is a broken-winged bird,T
hat cannot fly.” ― Langston Hughes\n",
  "“Clouds come floating into my life, no longer to carry rain or usher
 storm, but to add color to my sunset sky.” ― Rabindranath TagoreStray
Birds\n",
  "“You see, cuckoos are parasites. They lay their eggs in other birds'
 nests. When the egg hatches, the baby cuckoo pushes the other baby bir
ds out of the nest. The poor parent birds work themselves to death tryi
ng to find enough food to feed the enormous cuckoo child who has murder
ed their babies and taken their places.\"\"Enormous?\" said Jace. \"Did
 you just call me fat?\"\"It was an analogy.\"\"I am not fat.” ― Cassan
dra ClareCity of Ashes\n",

Secret

The quotes are scrapped from goodreads.

LICENSE

MIT

goquotes's People

Contributors

clouedoc avatar

Watchers

James Cloos avatar

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.