No project description provided
Project description
News-Scrapper
Web Scrapper for gettings the headlines of some news websites: https://pypi.org/project/newsscrapper-SamirPS/
To import the function :
FR:
from newsscrapper import fr
- LeMonde : fr.MondeSC()
- MediaPart: fr.MediaPartSC()
- BFMTV : fr.BmftvSC()
- Libération : fr.LibeSC()
EN:
from newsscrapper import en
- CNN : en.CNNSC()
- FoxNews: en.FoxNewsSC()
- AbcNews: en.ABCNewsSC()
- TheGuardian : en.TheGuardianSC()
- TheNewYorkTimes : en.TheNewYorkTimesSC()
ES:
from newsscrapper import es
- ELPAIS: es.ELPAISSC()
The function return a dict like {"1":{"link":A,"images":{key_image:B,...},"title":C,"description":D,"summary":E,"keyword":F}}
The ... is for multiple images; key_image can be the "heightxweight" of the picture or a string representing an integer if we don't have the height or weight.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file newsscrapper-SamirPS-1.0.5.tar.gz
.
File metadata
- Download URL: newsscrapper-SamirPS-1.0.5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f066414f07ec7f783fcebce5135c4a84cdbae6800234e8b4322ae3995465e00 |
|
MD5 | 0294384ee330a5254122b5277a7979b8 |
|
BLAKE2b-256 | a1480dea0bd87264ec45bab8ec4ad1f81bcf07c2ecc7c0f4bb8c0d25004686fc |
File details
Details for the file newsscrapper_SamirPS-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: newsscrapper_SamirPS-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe6ba9970c5881ba27cdd730167e88426dc7318d19740ba063bfe56b89d881b |
|
MD5 | ce26508e1e4e6b1562f425f7e56d47c7 |
|
BLAKE2b-256 | a8d17d530c150bd6b5569ba0b5632849545c3d7cd50f3e6f4fa60bd386e6bd64 |