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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef7e68e366102bf646385545636bf1af9ef60eb6b65b9d1d3a9cb3e29937060 |
|
MD5 | ed9821ad11ae1343527094cd6c7306b9 |
|
BLAKE2b-256 | 0ee5b838c7bcb49e384349f486bb47229161647062accfe205259377efd11b61 |
Close
Hashes for newsscrapper_SamirPS-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89366d9b3c30e0d0c03bf3f62df8e0524ff7679110245d753fa88671f9d11c9f |
|
MD5 | 894dd9b5d8ad7fae20218d67030810cf |
|
BLAKE2b-256 | a7bbcc8dde460b1799e960bb3d45d889b2b957c0b9451bb9d87af6eb6efcdf4d |