Skip to main content

PageCrawler

How to use

_request

  • call the _request() function, it will first try a request with the request libary and then with selenium
  • fill out these keywords: url: str, keyword: str, headers: dict = None, soup:bool=False, max_retry:int=2, wait:int=0
  • Explanation:
    • url : request url
    • keyword: the keyword that should be in the website to know whether or not it got the right website, use '' to ignore
    • headers: request header in dicit form, use {} for no headers, leave empty for basic request header
    • soup : Whether or not returned as a soup object
    • max_retry: how often it reties the request (boath the normal and selenium) to get a response containing the keyword

multi_request

  • calls the _request in multiprocessing
  • the first argument just uses a list of lists of these 3 arguments: [url, keyword, headers] (lenght of list determines how many request are done)
  • new argument: process: int = 1, just determines how many processes are called at the same time
  • the rest are just the same as _request, but apply to every request

Metadata

Release files for pagecrawler 1.1.2

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

Source distribution (sdist)

Source distribution for pagecrawler 1.1.2
File Size Uploaded Provenance Actions
pagecrawler-1.1.2.tar.gz 16.5 kB Without provenance Details for pagecrawler-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pagecrawler 1.1.2
File Interpreter ABI Platform Actions
pagecrawler-1.1.2-py3-none-any.whl Python 3 none any Details for pagecrawler-1.1.2-py3-none-any.whl

Total release size: 34.6 kB

Release files / pagecrawler-1.1.2.tar.gz

Download URL pagecrawler-1.1.2.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6f16a18ce0793489ddeb53d686628ae978f9d70f6a035c49cf0eca505688efd0
BLAKE2b-256 checksum
How to use checksums
3b2da1faa19dd1bd92ca6539f7e7ae618d5dfdcc0e3de6cc3ab141941818a460
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.7 Linux/6.13.2-zen1-1-zen

Release files / pagecrawler-1.1.2-py3-none-any.whl

Download URL pagecrawler-1.1.2-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2a74e5f2c44057c26e2330701f62bac7af7a33f36179125f784de70def79699
BLAKE2b-256 checksum
How to use checksums
49ab2650d2763efe06a377bd7d94ac1a9a8b074b6cbb7a6b333cde7a4b67ea23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.7 Linux/6.13.2-zen1-1-zen

Security for pagecrawler 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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