Skip to main content

A Python API for the Porn Site HQPorner.com

Project description

HQPorner API

Downloads CodeQL Analysis

Description

HQPorner API is an API for HQPorner. It allows you to fetch information from videos using regexes and requests. It is optimized for performance and as lightweight as possible.

Quickstart

Have a look at the Documentation for more details

  • Install the library with pip install hqporner_api
from hqporner_api.api import API, Quality

# Fetch a video
video_object = API("INSERT_HQPORNER_URL")

# Download the video

video_object.download(quality=Quality.BEST, output_path="your_output_path")

# Videos by actress

actress_generator = video_object.get_videos_by_actress("anissa-kate")
for video in actress_generator:
    print(video.video_title) # etc...

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 also welcome, but please avoid bs4 and use regex :)

License

Licensed under the LGPLv3 License

Copyright (C) 2023 Johannes Habel

Support

Leave a star on the repository. That's enough :)

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

hqporner_api-0.9.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

hqporner_api-0.9-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file hqporner_api-0.9.tar.gz.

File metadata

  • Download URL: hqporner_api-0.9.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for hqporner_api-0.9.tar.gz
Algorithm Hash digest
SHA256 633db69b60e614c150a7353a6ae04efb0cfc33006e0a0997f79e5a18f3992bc8
MD5 76f37ef925fdb1d2048a9404acfdf0f1
BLAKE2b-256 59c7c205f74e6d19421d90961d78d78b36ec6a6a2854ed2bf5dd3562efecd11d

See more details on using hashes here.

File details

Details for the file hqporner_api-0.9-py3-none-any.whl.

File metadata

  • Download URL: hqporner_api-0.9-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for hqporner_api-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fc435cd7d18b4ae055f5f29e59508dea1d81576b124ad9cfe45633a4b2fda017
MD5 6247e6bffa42bb7b6d036189995bc36c
BLAKE2b-256 2aade7d145f5c75d5b758583c5474dd8173142e140f372064be66ac3863e11cb

See more details on using hashes here.

Supported by

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