Skip to main content

No project description provided

Project description

Python package to count web content at a given URL

Installation

$ poetry install

Usage

Simple usage:

count, in_root_count, add_dict = count_page.count_pages(
    root_url="https://mame77.com/",
    is_print_working=True,
    additional_url=["https://mame77.com/posts/", "https://mame77.com/about"],
    output_url_file_name="output_url.txt",
)

Arguments

  • root_url : This package counts the number of files in the content of the URL.
  • additional_url : If specified, You can specify additional URLs to count the number of files.
    This is optional and must be under the same domain as the root_url.
  • sleep_sec: The number of seconds to sleep between requests.
  • is_print_working: If True, the package will print the URL it is currently working on and the number of remaining URLs.
  • output_url_file_name: If specified, the package will output the URLs to a file.

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

count_web_content-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

count_web_content-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file count_web_content-0.1.0.tar.gz.

File metadata

  • Download URL: count_web_content-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for count_web_content-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c8c00143e6683edab604ae93985588ada4ee34acddadc3c3b89f171fccf99a75
MD5 4d24960f32d2534a54ec17d083bc63f5
BLAKE2b-256 b3991339e2466eea24de830595a519860116713f995aad424456f2be6298035d

See more details on using hashes here.

File details

Details for the file count_web_content-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: count_web_content-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for count_web_content-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47970a2328c87ec0c64d0ac6ce6616cabceba334c2faf86a0eda03d242f43fac
MD5 e4f342d85712c8a39928f78b2419b02b
BLAKE2b-256 e67d955ab9936b3e36ba2f85a9ef9623a0415dab0e9cfa99d3dd211a1fcde8b3

See more details on using hashes here.

Supported by

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