Skip to main content

yadsl is a simple Python module to easily fetch data from https://adsl.yemen.net.ye official website.

Project description

Yemen Net ADSL Internet Info

yadsl is a simple Python module to easily fetch data from YemenNet ADSL official website.

Features

  • easy to use fetch data easily with Python.
  • cookies import & export cookies, for long refresh time without captcha verify

Installation

You can install yadsl via pip:

pip install yadsl

Usage

from yadsl import YADSL

yadsl = YADSL(
    user: str = "xxxxxx",
    password: str = "..."
)

yadsl.login()
yadsl.fetch_captcha()
yadsl.verify(captcha: str = "xxxx")
yadsl.fetch_data(cookies: dict = None)

License

This project is licensed under the GPL3 License.

Changelog

0.0.2 (2024-03-14)

Removed

  • YADSL.main_url property method

0.0.3 (2024-03-15)

Updated

  • example.py you can now pass the username, and password through command argument.

Fixed

  • yadsl._adsl.py some issues.

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

yadsl-0.0.3.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

yadsl-0.0.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file yadsl-0.0.3.tar.gz.

File metadata

  • Download URL: yadsl-0.0.3.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-25-generic

File hashes

Hashes for yadsl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0ab799808b7ac50706cce09dd8cc762b83a7b40fb66cca4f3a22cd19d782ada0
MD5 214150026f5120e62c348a8f9011701f
BLAKE2b-256 b06dc67d84d6f0f05b2d9afbbf192a83c1f13dbe3fe5389bea850b6e02d4b160

See more details on using hashes here.

File details

Details for the file yadsl-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: yadsl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-25-generic

File hashes

Hashes for yadsl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46808c02124492b0f534e098aa9076b2320f4c740871af06306808d2d2fb474b
MD5 5acfd30a959711b631f1fac3e31671af
BLAKE2b-256 7e308ae3c94164f33d20266a2ad7b9bcd9b03f4754ea457fadf5f2e5095c2ec5

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