A Python API for the Porn Site HQPorner.com
Project description
HQPorner API
Description
HQPorner API is an API for HQPorner. It allows you to fetch information from videos using regexes and requests.
Disclaimer
[!IMPORTANT] HQPorner API is in violation to HQporner's ToS! If you are the website owner of hqporner.com, contact me at my E-Mail, and I'll take this repository immediately offline. EchterAlsFake@proton.me
Quickstart
Have a look at the Documentation for more details
- Install the library with
pip install hqporner_api
from hqporner_api import Client, Quality
# Initialize a Client object
client = Client()
# Fetch a video
video_object = client.get_video("<insert_url_here>")
# Download the video
video_object.download(quality=Quality.BEST, path="your_output_path + title.mp4")
# Videos by actress
actress_generator = client.get_videos_by_actress("anissa-kate")
for video in actress_generator:
print(video.title) # etc...
# Search for videos
videos = client.search_videos(query="Your query here")
for video in videos:
print(video.title)
# SEE DOCUMENTATION FOR MORE
[!NOTE] HQPorner API can also be used from the command line. Do: hqporner_api -h to see the options
Changelog
See Changelog for more details.
Contribution
Do you see any issues or having some feature requests? Simply open an Issue or talk in the discussions.
Pull requests are welcome :)
License
Licensed under the LGPLv3 License
Copyright (C) 2023–2024 Johannes Habel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hqporner_api-1.6.6.tar.gz
.
File metadata
- Download URL: hqporner_api-1.6.6.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426283c34f2b091963cfdbbfa13515ab13521d64d5e09149950b6a11ca6e0915 |
|
MD5 | b978e9b6f7c396972d5903f56407c6e2 |
|
BLAKE2b-256 | d843dbe16177e9a98a1a7cf7b175ab2448fc7b261bac087b8be18f7871483c5d |
File details
Details for the file hqporner_api-1.6.6-py3-none-any.whl
.
File metadata
- Download URL: hqporner_api-1.6.6-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f99cdb47990c16623743a0271bcde949286d652325a0f09e6c86285572f68999 |
|
MD5 | 2303cc0edc552cacf51a9cfa2c6852cb |
|
BLAKE2b-256 | 7893fd5025e861b47a577eb030e25c86e57843ca822059689d8a317f397ce0ab |