Skip to main content

No project description provided

Project description

News-Scrapper

PyPI

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,"keyword":F}}

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newsscrapper-SamirPS-1.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

newsscrapper_SamirPS-1.0.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file newsscrapper-SamirPS-1.0.5.tar.gz.

File metadata

  • Download URL: newsscrapper-SamirPS-1.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for newsscrapper-SamirPS-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7f066414f07ec7f783fcebce5135c4a84cdbae6800234e8b4322ae3995465e00
MD5 0294384ee330a5254122b5277a7979b8
BLAKE2b-256 a1480dea0bd87264ec45bab8ec4ad1f81bcf07c2ecc7c0f4bb8c0d25004686fc

See more details on using hashes here.

File details

Details for the file newsscrapper_SamirPS-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for newsscrapper_SamirPS-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6fe6ba9970c5881ba27cdd730167e88426dc7318d19740ba063bfe56b89d881b
MD5 ce26508e1e4e6b1562f425f7e56d47c7
BLAKE2b-256 a8d17d530c150bd6b5569ba0b5632849545c3d7cd50f3e6f4fa60bd386e6bd64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page