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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2689b6fa505efa6bff443075c76a4fb448c6a41077a7ed8d750904042a50a908 |
|
MD5 | c6aaf95d4ef6449426723c7192e828fa |
|
BLAKE2b-256 | 9a96a41a7a3a0d2b6ff4bcd3718bbfb1cce47bea5577fbef08fb093e511de0e8 |
Close
Hashes for newsscrapper_SamirPS-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fde505ec2d060ee99d49e2f046cf4eec5332e6225670ae0f6052902bffa02caf |
|
MD5 | 2b061d702797fa880dcb1453377f0da9 |
|
BLAKE2b-256 | 2ae2d7fed7b3795f736794c57dfdc897d32e2c316503d2f4efdbe31a6fb0b109 |