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.
Source Distribution
ryder-0.0.4.tar.gz
(6.7 kB
view details)
Built Distribution
ryder-0.0.4-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file ryder-0.0.4.tar.gz
.
File metadata
- Download URL: ryder-0.0.4.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98b613859e2f20f4a179a50cb70c5d873a8ef37a6c9bba97c836619d84ca373c |
|
MD5 | 60d54627b32ea3df6afc092746807ac2 |
|
BLAKE2b-256 | 58a4c9acb70f59cf2ca416c45fdf021670e81d969f0b3eb324831e4293bca2d4 |
File details
Details for the file ryder-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: ryder-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8a59cadf19b197eb15423121b0230a8ce39bcb4c63ea7813950ef857de8569 |
|
MD5 | dee29bef590a7defd54045f46ec30f65 |
|
BLAKE2b-256 | 005316d6f50185b29fbbb138740e5da132c362339d61e31433d0b7c973cfef38 |