Python package to query uloz.to
Project description
ulozto-search
Search uloz.to for files using Python. It only supports one-page query for now.
Usage
import ulozto_search
query = "your_query"
file_type = "documents|videos|images|archives|audios" # optional
kwargs = {
"insecure": False # disables SSL check, optional, default False
}
# search and return dictionary
ulozto_search.search(query, file_type, **kwargs)
# search and return HTML string
ulozto_search.searchHTML(query, file_type, **kwargs)
It can be also used from terminal:
$ ulozto-search -h
usage: ulozto-search [-h] [-t {documents,videos,images,archives,audios}] [--insecure] query
positional arguments:
query String to query uloz.to
optional arguments:
-h, --help show this help message and exit
-t {documents,videos,images,archives,audios}, --type {documents,videos,images,archives,audios}
Filter by file type
--insecure Don't verify SSL certificates, not recommended
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
ulozto_search-1.0.0.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for ulozto_search-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc7bbbee21210f8feb270edf6475c8f0388290ba29cb90a0d13c71b2c81c5c1 |
|
MD5 | 16a07acff73ad8e08bba35e486ce2006 |
|
BLAKE2b-256 | 5f4a0d94c33cbf9f4e4191ccb072ccaef7b47c347cb1b22af027f049748a335c |