Skip to main content

D-Link Scraper

This package contains

  • library dlinkscraper - which you can use to scrape data from D-Link DWR-921 LTE router (I don't know if it will work on others, I have only this one :P)
  • CLI tool dlinkscraper that you can use to get info from console
  • dlinkscraper-duckdns-update script, which updates your DuckDNS IP (and it's also the reason why I created this package :D)

Library usage example

from dlinkscraper import DLink
dl = DLink('http://192.168.1.1')  # Change this if yours has different IP
dl.login('admin', <PASSWORD>)
dl.get_main_site()
print(dl.isp_name)

# You should always log out if you don't want to get "admin is already logged in" later
dl.logout()

CLI usage

Just run dlinkscraper from terminal and follow the instructions

DuckDNS script usage

Provide all required variables listed in --help. Example:

dlinkscraper-duckdns-update --token <YOUR_DUCKDNS_TOKEN> --domain <YOUR_DOMAIN> -p <ROUTER_PASSWORD>

Metadata

Release files for dlink-scraper 1.0.3

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

Source distribution (sdist)

Source distribution for dlink-scraper 1.0.3
File Size Uploaded
dlink-scraper-1.0.3.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlink-scraper 1.0.3
File Interpreter ABI Platform
dlink_scraper-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 37.1 kB

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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