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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119eb30413dadcf5361b2f5b3daffb8ba4e36e101912e763a355f80fd685b906 |
|
MD5 | 8aca77cf34872ab01a082330a0e99e59 |
|
BLAKE2b-256 | 4bc8958af2bc59d4c9420ce83d9a1d28bacde63b3fa6cfb5f780f995e65b5f6b |
Close
Hashes for newsscrapper_SamirPS-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119664c05e7bbe96134ac863c5b121e108ed9911f8ea7691791bd5f5d04350d1 |
|
MD5 | e1889077a3162a80f96fcd43f548aeb9 |
|
BLAKE2b-256 | 487a54d9f1f5912cc619c0f8df7d6f7180edb42597e3be449306cff6a04cba3d |