Weblinks
- Introduction
- Pre-requisites
- Installation and Downloads
- Commands
- Docs
- Bug Tracker and Support
- License and Copyright
- Author and Thanks
Introduction
Weblinks, It get all links from a given website and we can apply filters on top of it to get desired results, when you are good you can start downloading them with -d flag.
In the library we are supporting plain webpages, authentication based webpages, proxy, authentication on proxy, etc.
We also support storing the config in either local/global configuration, for best practise we suggest not to store your password, you get a prompt on runtime wher you can provide it.
Pre-requisites
A system need to support curl commands and python3
Installation and Downloads
pip install weblinks
Commands
weblinks --help
usage: weblinks [-h] [-w WEB] [-s SUBSTRING] [-e EXT] [-d] [-u USERNAME]
[-p PASSWORD] [-g] [-l] [-v] [--proxy PROXY]
[--proxy-username PROXY_USERNAME]
[--proxy-password PROXY_PASSWORD] [--version]
optional arguments:
-h, --help show this help message and exit
-w WEB, --web WEB the website
-s SUBSTRING, --substring SUBSTRING
the sub-string in the links
-e EXT, --ext EXT file extention
-d, --download download links
-u USERNAME, --username USERNAME
web login username
-p PASSWORD, --password PASSWORD
web login password
-g, --global global configuration
-l, --local local configuration
-v, --verbosity
--proxy PROXY proxy address
--proxy-username PROXY_USERNAME
proxy username
--proxy-password PROXY_PASSWORD
proxy password
--version weblinks version
Docs
Weblinks usage
To see current lib. version
weblinks --version
# weblinks version: 2.0
To see python file from given url
weblinks --web https://www.python.org/ftp/python/3.8.13/ --substring Python
# INFO | 2022-07-23 16:23:33,603 | run :117 | links found
# Python-3.8.13.tar.xz
# Python-3.8.13.tar.xz.asc
# Python-3.8.13.tgz
# Python-3.8.13.tgz.asc
Still wanted to filter add file extention
weblinks --web https://www.python.org/ftp/python/3.8.13/ --substring Python --ext .tgz
# INFO | 2022-07-23 16:23:33,603 | run :117 | links found
# Python-3.8.13.tgz
Start download, listed links are good
weblinks --web https://www.python.org/ftp/python/3.8.13/ --substring Python --ext .tgz -d
# INFO | 2022-07-23 16:25:34,807 | run :117 | links found
# Python-3.8.13.tgz
# INFO | 2022-07-23 16:25:34,807 | run :124 | start download: Python-3.8.13.tgz
# INFO | 2022-07-23 16:25:34,807 | utils :58 | downloading: Python-3.8.13.tgz
# INFO | 2022-07-23 16:25:36,849 | run :126 | completed: Python-3.8.13.tgz
For authentication
weblinks --web <url> --substring <sub> --username <kirankotari> --password <xxxxxx> --ext .tgz
# Note: don't add --password, it will ask dynamically
For verbose add -v
weblinks --web <url> --substring <sub> --username <kirankotari> --ext .tgz -v
To store config add --local or --global respectively
weblinks --local --web <url> --username <kirankotari> --ext .tgz
For proxy
weblinks --proxy <ip>:<port> --web <url> --substring <sub>
For proxy with authentication
weblinks --proxy <ip>:<port> --web <url> --substring <sub> --proxy-username <proxy user> --proxy-password <proxy password>
Adding web authentication on top of proxy auth.
weblinks --proxy <ip>:<port> --web <url> --substring <sub> --proxy-username <proxy user> --proxy-password <proxy password> --username <user>
Bug Tracker and Support
- Please report any suggestions, bug reports, or annoyances with weblinks through the Github bug tracker. If you're having problems with general python issues, consider searching for a solution on Stack Overflow.
- If you can't find a solution for your problem or need more help, you can ask a question.
License and Copyright
- weblinks is licensed Apache 2.0 2022
Author and Thanks
Weblinks was developed by Kiran Kumar Kotari
Metadata
Release files for weblinks 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weblinks-2.0.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weblinks-2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / weblinks-2.0.tar.gz
| Download URL | weblinks-2.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50a9557b27b446ac331eb16f09c3814045bb16bf3df675b3bd44c58dfcd3a342
|
|
BLAKE2b-256 checksum How to use checksums |
75185a9a8c48fc78c7097dcb1a2032636f7acb01dca3bb16f3f95e0bc6adb903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / weblinks-2.0-py3-none-any.whl
| Download URL | weblinks-2.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed018fc71113fcc2d5949f3754c564cf5d15b18cf8b4c94a9039925c18df18d3
|
|
BLAKE2b-256 checksum How to use checksums |
1667d5d61d20b956caa262216ac8c71fe8bcb4d020a28df039f1c47a041d5e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|