Skip to main content
CLI interface for getting download links for files from webshare.cz.

Installation

$ pip3 install websharecli
$ webshare sample-config

Customizing configuration

Customize config in order to:

  • Activate VIP

  • Change default preferred video quality

See instructions in config file.

$ vi ~/.config/webshare/config.yaml

Usage

Download a single file

$ webshare download my own awesome movie 2024 > link
my own awesome movie: My.Awesome.Movie.2024.1080p.AC3.x264.(CZ,EN).mkv
$ aria2c -i link

Download an entire series

Use asterisk (*) symbol to as a 00-99 wildcard.

$ webshare download example series s02e* > links
example series s03e00: NOT FOUND
example series s03e01: Example.Series.S03E01.PROPER.1080p.WEBRip.X264.mkv
example series s03e02: Example.Series.S03E02.PROPER.1080p.WEBRip.X264.mkv
example series s03e03: Series.Example.wtf.S03E03.PROPER.1080p.WEBRip.X264.mkv
example series s03e04: Example.Series.S03E04.PROPER.1080p.WEBRip.X264.mkv
example series s03e05: Example.Series.S03E05.1080p.WEBRip.X264-DEFLATE.mkv
example series s03e06: Example.Series.S03E06.1080p.WEBRip.X264-DEFLATE.mkv
example series s03e07: NOT FOUND
example series s03e08: NOT FOUND
example series s03e09: NOT FOUND
Aborting after 3 failures
$ aria2c -i links

Search for a file

$ webshare search my very own file
 1.  12G mkv +0 saod56f33a My.Very.Own.File.2000.1080p.BluRay.DTS.x264-XYZ.mkv
 2.  67K srt +0 FK094jFdfk My.Very.Own.File.2000.1080p.BluRay.DTS.x264-XYZ.srt
 3. 1.7G mkv +1 VMF94n1cgh my very own file 9001 unrated DC (1080p x265 10bit Alphabet).mkv
 4. 1.4G mp4 +0 knfg9FLgxe Random.Stuff.aka.My.Very.Own.File.DIRECTORS.CUT.2000.1080p.BrRip.x264.mp4

Download file by id

$ webshare link saod56f33a > link
$ aria2c -i link

Changelog

  • 2.2.2: documentation update

  • 2.2.1: support terminal colors everywhere

  • 2.2.0: handle keyboard interrupt; terminal colors; Python 3.6+ required

  • 2.1.0: add -x/–exclude filter and –ignore-vip

  • 2.0.2: fix hadling of single search result

  • 2.0.1: include missing config.yaml in PyPI package

  • 2.0.0: update to new API (send wst in request) - config update needed!

  • 1.2.0: add fail-over logic for unavailable links in download command

  • 1.1.1: added setuptools dependency, use YAML.safe_load()

  • 1.1.0: added filtering by file extension

  • 1.0.2: add README.rst to pypi package

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

websharecli-2.2.2.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

websharecli-2.2.2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file websharecli-2.2.2.tar.gz.

File metadata

  • Download URL: websharecli-2.2.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for websharecli-2.2.2.tar.gz
Algorithm Hash digest
SHA256 7e40810f70a0572491c3c33309cc3c6f7e7f2ddc06efa89e2219c09de485acc2
MD5 a3f56b7c8d5bf94e4e8ade478d25203a
BLAKE2b-256 5dff8b5db2d66821c831218ff7d2c61b7501eed9b14320ef91d9fe60537ea7a5

See more details on using hashes here.

File details

Details for the file websharecli-2.2.2-py3-none-any.whl.

File metadata

  • Download URL: websharecli-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for websharecli-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48431579c9d4ddd913d0b46b920460113747b33afe64ea53849f06c97904e3ed
MD5 4d616497310e3d095107ced11864fb8b
BLAKE2b-256 12344853c19a7362194045e6fdd2025e8acfa315d1e58bef401d04ddd24fc613

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.2.2 This release

2 files

2.2.1

1 file

2.2.0

1 file

2.1.0

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.1.0

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page