Giter Site home page Giter Site logo

crawlee's Introduction

Crawlee

This is a simple script to parse public articles / images from websites with user content.

Currently only Telegra.ph is supported.

Telegra.ph

The search is performed by checking user notes with the title you request. For example, if you request "test", the script will probe pages "telegra.ph/test-01-01", "telegra.ph/test-02-01" etc.

How to run

git clone https://github.com/c0ntribut0r/crawlee.git
cd crawlee
python -m venv venv
source venv/bin/activate
pip install --upgrade pip -r requirements.txt
python src/main.py "funny story"

Output:

1 Funny story
https://telegra.ph/funny-story-08-25

Funny story 
policemen in action August 25, 2017 
Funny story policemen in action Policemen are in action.  They want to arrest the most dangerous smuggler in Scarborough. t 
Edit Publish 

------------------------------
2 Funny story
https://telegra.ph/funny-story-11-22

Funny story 
Pun November 22, 2016 
Funny story Pun Hey! Glad to see Telegraph. Interesting.. Flickr Hoho 
Edit Publish 

For more options, run

python src/main.py --help

As telegram bot

python src/bot.py

crawlee's People

Contributors

0xe111 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

hyperupscale

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.