Skip to main content

A scraper for Channel Myanmar movies

Project description

Channel Myanmar Scraper

This is a command-line tool for scraping movie information from Channel Myanmar and saving links to Yoteshin.

Installation

You can install this package using pip:

pip install cm-scraper

Usage

After installation, you can use the scraper from the command line. Here are some usage examples:

  1. Scrape a single page:
cm-scraper --page 5 --token your_authentication_token_here

This will scrape page 5.

  1. Scrape a range of pages:
cm-scraper --page-range 1 5 --token your_authentication_token_here

This will scrape pages 1 through 5.

  1. Specify a custom delay between requests:
cm-scraper --page-range 1 5 --token your_authentication_token_here --delay 2

This will scrape pages 1 through 5 with a 2-second delay between requests.

  1. Default behavior (scrape only page 1):
cm-scraper --token your_authentication_token_here

This will scrape only page 1 with the default 1-second delay.

Command-line Options

  • --page PAGE: Scrape a single specified page.
  • --page-range START END: Specify the range of pages to scrape. For example, --page-range 10 40 will scrape pages 10 through 40.
  • --token TOKEN: Your authentication token (required).
  • --delay SECONDS: Time delay between requests in seconds (default: 1).

Note: You can use either --page or --page-range, but not both at the same time.

For more information, use the --help option:

cm-scraper --help

Note

Please use this tool responsibly and in accordance with the terms of service of the websites being scraped.

License

MIT License

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

cm_scraper-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

cm_scraper-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cm_scraper-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for cm_scraper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 689ee63034c199ffcf9070454dfed96b7684b84192e6652d5f984c01b60b92e1
MD5 a2c207445325cf1c35f2a47f2bc94af1
BLAKE2b-256 cb1e4d54f69016547d40b2201dbc0918585b8732ff491f128d9b3aaecc77aac6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cm_scraper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for cm_scraper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2adce3fd2d1430c93730a65cd3127fb684be2539adbcf890791a2582cbe8e846
MD5 eb338d591b164940c2b968cca8e29ac6
BLAKE2b-256 94ab1c2ef7bc63ba369f569dc13530732ab83c81d084adee8098a14ebd82b8e6

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