{"id":13611164,"url":"https://github.com/mariosemes/PornHub-downloader-python","last_synced_at":"2025-04-13T01:34:55.989Z","repository":{"id":39665969,"uuid":"213067340","full_name":"mariosemes/PornHub-downloader-python","owner":"mariosemes","description":"Download stuff from PH the easy way.","archived":false,"fork":false,"pushed_at":"2023-11-11T07:22:25.000Z","size":41,"stargazers_count":767,"open_issues_count":32,"forks_count":186,"subscribers_count":53,"default_branch":"master","last_synced_at":"2024-08-01T19:56:51.836Z","etag":null,"topics":["beautifulsoup4","downloader","easy-to-use","orginizer","pornhub","pornhub-downloader","prettytable","python","python3","youtube-dl","youtube-dl-wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariosemes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-10-05T20:32:09.000Z","updated_at":"2024-08-01T12:24:46.000Z","dependencies_parsed_at":"2022-07-12T23:10:34.953Z","dependency_job_id":"136df49a-e5d6-4354-9bca-2c14d33be5f0","html_url":"https://github.com/mariosemes/PornHub-downloader-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariosemes%2FPornHub-downloader-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariosemes%2FPornHub-downloader-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariosemes%2FPornHub-downloader-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariosemes%2FPornHub-downloader-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariosemes","download_url":"https://codeload.github.com/mariosemes/PornHub-downloader-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223558593,"owners_count":17165152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautifulsoup4","downloader","easy-to-use","orginizer","pornhub","pornhub-downloader","prettytable","python","python3","youtube-dl","youtube-dl-wrapper"],"created_at":"2024-08-01T19:01:52.399Z","updated_at":"2024-11-07T17:31:33.437Z","avatar_url":"https://github.com/mariosemes.png","language":"Python","readme":"## deprecated deprecated deprecated deprecated\n\n# PornHub Downloader\n\n[![GitHub Issues Open](https://github-basic-badges.herokuapp.com/issues/mariosemes/PornHub-downloader-python.svg)]()\n\nIf you feel like it, you can donate me a beer or two ;) Just for the troubles! \u003cbr /\u003e\n[DONATE BUTTON](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=7MTJVTTQM9YQE\u0026source=url)\n\n# Installation\n\nCheck what version of python you have: python --version \u003cbr /\u003e\nRecommended \u0026 tested usage is with python3. \u003cbr /\u003e\nAlso, check if you have pip3 installed (apt install python3-pip). \u003cbr /\u003e\n\n```bash\n1. $ apt install python3\n2. $ apt install python3-pip\n3. $ wget https://github.com/mariosemes/PornHub-downloader-python/archive/master.zip\n4. $ unzip master.zip\n5. $ cd PornHub-downloader-python-master\n6. $ pip3 install -r requirements.txt\n7. $ python3 phdler.py\n```\nIt will ask you for your download folder PATH. Please enter your full path without the last backslash. \u003cbr /\u003e\nLike this: /home/username/media/phmedia \u003cbr /\u003e\nOn first run, phdler will create a database.db which will be used later for everything.\n\n\n# Usage\n```bash\n\n+-------------------+---------+------------------------------------------------------+\n| Tool              | command | item                                                 |\n+-------------------+---------+------------------------------------------------------+\n| python3 phdler.py | start   |                                                      |\n| python3 phdler.py | custom  | url | batch                                          |\n| python3 phdler.py | add     | model | pornstar | channel | user | playlist | batch |\n| python3 phdler.py | list    | model | pornstar | channel | user | playlist | all   |\n| python3 phdler.py | delete  | model | pornstar | channel | user | playlist         |\n+-------------------+---------+------------------------------------------------------+\n```\n\n# Example\n\n## START\n```bash\npython3 phdler.py start\n```\n\n## CUSTOM\n```bash\npython3 phdler.py custom https://www.pornhub.com/view_video.php?viewkey=ph5d69a2093729e\nor\npython3 phdler.py custom batch\n```\nThe batch option will ask you for the full path of your .txt file where you can import multiple URLs at once. \u003cbr /\u003e\nTake care that every single URL in the .txt file is in his own row.\n\n## ADD\n```bash\npython3 phdler.py add https://www.pornhub.com/model/luxurygirl\nor\npython3 phdler.py add https://www.pornhub.com/pornstar/leolulu\nor\npython3 phdler.py add https://www.pornhub.com/channels/mia-khalifa\nor\npython3 phdler.py add https://www.pornhub.com/users/lasse98\nor\npython3 phdler.py add https://www.pornhub.com/playlist/30012401\nor\npython3 phdler.py add batch\n```\nThe batch option will ask you for the full path of your .txt file where you can import multiple URLs at once. \u003cbr /\u003e\nTake care that every single URL in the .txt file is in his own row.\n\n## LIST\n```bash\npython3 phdler.py list model\nor\npython3 phdler.py list pornstar\nor\npython3 phdler.py list channels\nor\npython3 phdler.py list users\nor\npython3 phdler.py list playlist\nor\npython3 phdler.py list all\n```\n\n## DELETE\n```bash\npython3 phdler.py delete model\nor\npython3 phdler.py delete pornstar\nor\npython3 phdler.py delete channels\nor\npython3 phdler.py delete users\nor\npython3 phdler.py delete playlist\n```\nThe option DELETE will list the selected item type, list them from the database and give you an option to enter the item ID of which one you want to be deleted.\n\n\n# Explained\n\nEvery time you add a new item (model/pornstar and so on), the script will scrape the real name from the website and write it to the database. That is how we can have pretty names in final folders. Every added item is treated with a status of NEW=1, so the script knows that it needs to download all videos from the selected item. After the download of all videos is completed for the selected item, the script will change it to NEW=0. This way, when you START the script, it will first run down trough the database and ask for all items that have the status of NEW=1, and after that, it will check for new videos from items with the status NEW=0.\nThis should not bother you... I just wanted to explain how it works.\n\n\n# Big thanks to\n\nYouTube-DL \u003cbr /\u003e\nPrettyTables \u003cbr /\u003e\nBS4 aka BeautifulSoup4 \u003cbr /\u003e\nand of course, all of you :)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=7MTJVTTQM9YQE\u0026source=url"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariosemes%2FPornHub-downloader-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariosemes%2FPornHub-downloader-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariosemes%2FPornHub-downloader-python/lists"}