Coder Social home page Coder Social logo

khanshaheb34 / prothomaloscraper Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 4.0 23 KB

A python script to scrap articles from Prothom Alo with the Headline, Category, URL, and Summary

License: GNU General Public License v3.0

Python 100.00%
automation scraper python bangla prothom-alo prothomalo news bangla-news bangla-news-scrape article-extractor

prothomaloscraper's Introduction

ProthomAloScraper

A python script to scrape all article with title, category, summary (if available) and URL from Prothom Alo

To get help run: python scraper.py -h or python scraper.py --help

Documentation:

usage: python scraper.py [-h] [--write-interval WRITE_INTERVAL]
                         [--verbose VERBOSE]
                         start end filename

Scrape articles from Prothom Alo

positional arguments:
  start                 Starting article ID from Prothom Alo
  end                   Ending article ID from Prothom Alo
  filename              Filename for the csv file

optional arguments:
  -h, --help            show this help message and exit
  --write-interval WRITE_INTERVAL
                        Write to file after every interval (default 25)
  --verbose VERBOSE     0 = False, 1 = True (default 1)

Give an starting id, ending id and a filename, the script will scrape all the articles from given ID and save them to filename.csv

prothomaloscraper's People

Contributors

khanshaheb34 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.