Skip to main content

Scraper for getting data from D-Link DWR-921 LTE router

Project description

D-Link Scraper

This is a library that gets information from your D-Link DWR-921 (and possible others) LTE router admin page using web scraping

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('')  # Change this if yours has different IP
dl.login('admin', <PASSWORD>)

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

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>

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

dlink-scraper-1.0.3.tar.gz (16.2 kB view hashes)

Uploaded source

Built Distribution

dlink_scraper-1.0.3-py3-none-any.whl (20.9 kB view hashes)

Uploaded py3

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