APNews Web Scraper
This Python package, apnews, provides a simple way to scrape top news articles from the Associated Press website.
Installation
You can install apnews from PyPI:
pip install apnews
Usage
Here is an example of how to use apnews:
import apnews
articles = apnews.scrape_top_news()
for title, article in articles:
print(title, article)
License
This project is licensed under the terms of the MIT license.
Release files for apnews 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apnews-0.1.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apnews-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / apnews-0.1.1.tar.gz
| Download URL | apnews-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51dd90cf874c2dbf2cec90ae501299565ab8204ab8c245d73bf1d85d0435aa53
|
|
BLAKE2b-256 checksum How to use checksums |
5b7a3cf672eafb61c0c256e1aadcee431407ce0e479b16f73c6d50b013c4afda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / apnews-0.1.1-py3-none-any.whl
| Download URL | apnews-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89db6c1df911e28a62597d14a30f1e73d7b141de5e8704f3e7eb3f4e785778d4
|
|
BLAKE2b-256 checksum How to use checksums |
adef6d5d404c60dfb6d5596b1eec771bfb991638cd655389d19434af2fd1c730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|