Skip to main content

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.

Release files for newsscrapper-SamirPS 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for newsscrapper-SamirPS 1.0.5
File Size Uploaded
newsscrapper-SamirPS-1.0.5.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for newsscrapper-SamirPS 1.0.5
File Interpreter ABI Platform
newsscrapper_SamirPS-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / newsscrapper-SamirPS-1.0.5.tar.gz

Download URL newsscrapper-SamirPS-1.0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7f066414f07ec7f783fcebce5135c4a84cdbae6800234e8b4322ae3995465e00
BLAKE2b-256 checksum
How to use checksums
a1480dea0bd87264ec45bab8ec4ad1f81bcf07c2ecc7c0f4bb8c0d25004686fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / newsscrapper_SamirPS-1.0.5-py3-none-any.whl

Download URL newsscrapper_SamirPS-1.0.5-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fe6ba9970c5881ba27cdd730167e88426dc7318d19740ba063bfe56b89d881b
BLAKE2b-256 checksum
How to use checksums
a8d17d530c150bd6b5569ba0b5632849545c3d7cd50f3e6f4fa60bd386e6bd64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page