xvideos-api


Namexvideos-api JSON
Version 1.5.9 PyPI version JSON
download
home_pagehttps://github.com/EchterAlsFake/xvideos_api
SummaryA Python API for the Porn Site xvideos.com
upload_time2025-07-30 17:19:14
maintainerNone
docs_urlNone
authorJohannes Habel
requires_pythonNone
licenseLGPLv3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">XVIDEOS API</h1> 

<div align="center">
    <a href="https://pepy.tech/project/xvideos_api"><img src="https://static.pepy.tech/badge/xvideos_api" alt="Downloads"></a>
    <a href="https://pepy.tech/project/xvideos_api-async"><img src="https://static.pepy.tech/badge/xvideos_api-async" alt="Downloads"></a> <pan style="font-size: 20px">(Async)</pan>
    <a href="https://github.com/EchterAlsFake/xvideos_api/workflows/"><img src="https://github.com/EchterAlsFake/xvideos_api/workflows/CodeQL/badge.svg" alt="CodeQL Analysis"/></a>
    <a href="https://github.com/EchterAlsFake/xvideos_api/actions/workflows/sync-tests.yml"><img src="https://github.com/EchterAlsFake/xvideos_api/actions/workflows/sync-tests.yml/badge.svg" alt="Sync API Tests"/></a>
    <a href="https://github.com/EchterAlsFake/xvideos_api/actions/workflows/async-tests.yml"><img src="https://github.com/EchterAlsFake/xvideos_api/actions/workflows/async-tests.yml/badge.svg?branch=async" alt="Async Branch API Tests"></a>
</div>

# Description
XVideos API is an API for xvideos.com. It allows you to fetch information from videos using regexes and requests.

# Disclaimer
> [!IMPORTANT] 
> XVideos API is in violation to the ToS of xvideos.com!
> If you are the website owner of xvideos.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](https://github.com/EchterAlsFake/API_Docs/blob/master/Porn_APIs/XVideos.md) for more details
- Install the library with `pip install xvideos_api`


```python
from xvideos_api import Client
# Initialize a Client object
client = Client()

# Fetch a video
video_object = client.get_video("<insert_url_here>")

# Information from Video objects
print(video_object.title)
print(video_object.likes)
# Download the video

video_object.download(downloader="threaded", quality="best", path="your_output_path + filename")

# SEE DOCUMENTATION FOR MORE
```

> [!NOTE]
> XVideos API can also be used from the command line. Do: xvideos_api -h to see the options
# Changelog
See [Changelog](https://github.com/EchterAlsFake/xvideos_api/blob/master/README/Changelog.md) for more details.

# Support (Donations)
I am developing all my projects entirely for free. I do that because I have fun and I don't want
to charge 30€ like other people do.

However, if you find my work useful, please consider donating something. A tiny amount such as 1€
means a lot to me.

Paypal: https://paypal.me/EchterAlsFake
<br>XMR (Monero): `42XwGZYbSxpMvhn9eeP4DwMwZV91tQgAm3UQr6Zwb2wzBf5HcuZCHrsVxa4aV2jhP4gLHsWWELxSoNjfnkt4rMfDDwXy9jR`


# 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.

# License
Licensed under the LGPLv3 License
<br>Copyright (C) 2023–2025 Johannes Habel

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/EchterAlsFake/xvideos_api",
    "name": "xvideos-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Johannes Habel",
    "author_email": "EchterAlsFake@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/64/2c/0ea6497376abcc99cfcbfda8c3cae5cd247ca64e2bdf802f72a00a0013b2/xvideos_api-1.5.9.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">XVIDEOS API</h1> \n\n<div align=\"center\">\n    <a href=\"https://pepy.tech/project/xvideos_api\"><img src=\"https://static.pepy.tech/badge/xvideos_api\" alt=\"Downloads\"></a>\n    <a href=\"https://pepy.tech/project/xvideos_api-async\"><img src=\"https://static.pepy.tech/badge/xvideos_api-async\" alt=\"Downloads\"></a> <pan style=\"font-size: 20px\">(Async)</pan>\n    <a href=\"https://github.com/EchterAlsFake/xvideos_api/workflows/\"><img src=\"https://github.com/EchterAlsFake/xvideos_api/workflows/CodeQL/badge.svg\" alt=\"CodeQL Analysis\"/></a>\n    <a href=\"https://github.com/EchterAlsFake/xvideos_api/actions/workflows/sync-tests.yml\"><img src=\"https://github.com/EchterAlsFake/xvideos_api/actions/workflows/sync-tests.yml/badge.svg\" alt=\"Sync API Tests\"/></a>\n    <a href=\"https://github.com/EchterAlsFake/xvideos_api/actions/workflows/async-tests.yml\"><img src=\"https://github.com/EchterAlsFake/xvideos_api/actions/workflows/async-tests.yml/badge.svg?branch=async\" alt=\"Async Branch API Tests\"></a>\n</div>\n\n# Description\nXVideos API is an API for xvideos.com. It allows you to fetch information from videos using regexes and requests.\n\n# Disclaimer\n> [!IMPORTANT] \n> XVideos API is in violation to the ToS of xvideos.com!\n> If you are the website owner of xvideos.com, contact me at my E-Mail, and I'll take this repository immediately offline.\n> EchterAlsFake@proton.me\n\n# Quickstart\n\n### Have a look at the [Documentation](https://github.com/EchterAlsFake/API_Docs/blob/master/Porn_APIs/XVideos.md) for more details\n- Install the library with `pip install xvideos_api`\n\n\n```python\nfrom xvideos_api import Client\n# Initialize a Client object\nclient = Client()\n\n# Fetch a video\nvideo_object = client.get_video(\"<insert_url_here>\")\n\n# Information from Video objects\nprint(video_object.title)\nprint(video_object.likes)\n# Download the video\n\nvideo_object.download(downloader=\"threaded\", quality=\"best\", path=\"your_output_path + filename\")\n\n# SEE DOCUMENTATION FOR MORE\n```\n\n> [!NOTE]\n> XVideos API can also be used from the command line. Do: xvideos_api -h to see the options\n# Changelog\nSee [Changelog](https://github.com/EchterAlsFake/xvideos_api/blob/master/README/Changelog.md) for more details.\n\n# Support (Donations)\nI am developing all my projects entirely for free. I do that because I have fun and I don't want\nto charge 30\u20ac like other people do.\n\nHowever, if you find my work useful, please consider donating something. A tiny amount such as 1\u20ac\nmeans a lot to me.\n\nPaypal: https://paypal.me/EchterAlsFake\n<br>XMR (Monero): `42XwGZYbSxpMvhn9eeP4DwMwZV91tQgAm3UQr6Zwb2wzBf5HcuZCHrsVxa4aV2jhP4gLHsWWELxSoNjfnkt4rMfDDwXy9jR`\n\n\n# Contribution\nDo you see any issues or having some feature requests? Simply open an Issue or talk\nin the discussions.\n\nPull requests are also welcome.\n\n# License\nLicensed under the LGPLv3 License\n<br>Copyright (C) 2023\u20132025 Johannes Habel\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "A Python API for the Porn Site xvideos.com",
    "version": "1.5.9",
    "project_urls": {
        "Homepage": "https://github.com/EchterAlsFake/xvideos_api"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f6b7694893a63de7436ee16ba5f0fbe959807a2c42b576f4378d67f9e5cfaae8",
                "md5": "e815711ca2dc6093aa16fefdf1ac8ab5",
                "sha256": "862d9e97a702ba704eb906280e8f389c6f6f623d0dab67c90340e2f7bd834b73"
            },
            "downloads": -1,
            "filename": "xvideos_api-1.5.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e815711ca2dc6093aa16fefdf1ac8ab5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15278,
            "upload_time": "2025-07-30T17:19:13",
            "upload_time_iso_8601": "2025-07-30T17:19:13.025860Z",
            "url": "https://files.pythonhosted.org/packages/f6/b7/694893a63de7436ee16ba5f0fbe959807a2c42b576f4378d67f9e5cfaae8/xvideos_api-1.5.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "642c0ea6497376abcc99cfcbfda8c3cae5cd247ca64e2bdf802f72a00a0013b2",
                "md5": "4d640a61b60557146f338374e4175ab9",
                "sha256": "0f35fcd613727cc31541bce7c7f9ed8b126f90248a52862c45b1fa1faecf7a7a"
            },
            "downloads": -1,
            "filename": "xvideos_api-1.5.9.tar.gz",
            "has_sig": false,
            "md5_digest": "4d640a61b60557146f338374e4175ab9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 14290,
            "upload_time": "2025-07-30T17:19:14",
            "upload_time_iso_8601": "2025-07-30T17:19:14.548766Z",
            "url": "https://files.pythonhosted.org/packages/64/2c/0ea6497376abcc99cfcbfda8c3cae5cd247ca64e2bdf802f72a00a0013b2/xvideos_api-1.5.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-30 17:19:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "EchterAlsFake",
    "github_project": "xvideos_api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "xvideos-api"
}
        
Elapsed time: 0.41078s