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}}
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
Close
Hashes for newsscrapper-SamirPS-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a7e40c8b062680c134e7933c61af2a68065fb822f542d579f3f436fb49acf7 |
|
MD5 | 5a460b1860bbea696a0cd07e8aa9b1fd |
|
BLAKE2b-256 | 935ca8ecdb299988f89895ee20e619cb4cf2f2387f474f538b2063d131e4e480 |
Close
Hashes for newsscrapper_SamirPS-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ec990189de219828b9c61e74f176ba6a13545f30f5b304f035f154d54b2b6d |
|
MD5 | b4dcf32ad581890ec56c766d72edc116 |
|
BLAKE2b-256 | be73e24db8673083256207cd993e303daff3b46f06d14110cc4c4ebd0c9f3cab |