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}}
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32614bd9b59cfd58ca2fcfa49d3c8c3325074917af87f37081bf98abffe10bb4 |
|
MD5 | 228eb6f09cbc1f016186ae333b56866d |
|
BLAKE2b-256 | 686f0ed907b403353577a592938f23c6d1a470de3aa24face604776d312ce741 |
Close
Hashes for newsscrapper_SamirPS-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ea7f300d2ffd82feb0d1de5a63ed9a6945ce9601a7586e4076000f1a8617e7 |
|
MD5 | 3b3e9ddd8d65df17b568e1d13167803c |
|
BLAKE2b-256 | fd821078b7cec83fea6610ddece21f9363c6f9b9790eea021769d09021ab7d52 |