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
Metadata
Release files for ryder 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ryder-0.0.4.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ryder-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / ryder-0.0.4.tar.gz
| Download URL | ryder-0.0.4.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98b613859e2f20f4a179a50cb70c5d873a8ef37a6c9bba97c836619d84ca373c
|
|
BLAKE2b-256 checksum How to use checksums |
58a4c9acb70f59cf2ca416c45fdf021670e81d969f0b3eb324831e4293bca2d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ryder-0.0.4-py3-none-any.whl
| Download URL | ryder-0.0.4-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d8a59cadf19b197eb15423121b0230a8ce39bcb4c63ea7813950ef857de8569
|
|
BLAKE2b-256 checksum How to use checksums |
005316d6f50185b29fbbb138740e5da132c362339d61e31433d0b7c973cfef38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|