Skip to main content

News reader for Python

Project description

Scrape any news outlet

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

You can install the method by typing:

pip install ryder

Basic usage

import ryder

#: get all valid urls on the homepage
articles = ryder.source("https://lemonde.fr")

for article in articles[:5]:
    #: scrape content of the article
    # lang is True by default: whether to infer the language
    # of the article (using langdetect)
    news = ryder.read(article["url"], lang=True)
    print(news)

Authors

Maixent Chenebaux

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ryder, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size ryder-0.0.4-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ryder-0.0.4.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page