{"id":20118448,"url":"https://github.com/magicoflolis/magic-ph","last_synced_at":"2025-04-07T05:09:39.336Z","repository":{"id":38260125,"uuid":"250346299","full_name":"magicoflolis/Magic-PH","owner":"magicoflolis","description":"A video downloader for various adult websites","archived":false,"fork":false,"pushed_at":"2025-03-13T17:41:15.000Z","size":11545,"stargazers_count":104,"open_issues_count":0,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T06:06:35.198Z","etag":null,"topics":["browser-extension","greasymonkey","pornhub","tampermonkey","userscript","web-extension","webextension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicoflolis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2020-03-26T18:57:32.000Z","updated_at":"2025-04-05T06:13:07.000Z","dependencies_parsed_at":"2024-03-03T04:28:14.445Z","dependency_job_id":"c5b399c9-8df2-46e9-84d3-5956418abaf6","html_url":"https://github.com/magicoflolis/Magic-PH","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoflolis%2FMagic-PH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoflolis%2FMagic-PH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoflolis%2FMagic-PH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicoflolis%2FMagic-PH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicoflolis","download_url":"https://codeload.github.com/magicoflolis/Magic-PH/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595334,"owners_count":20963943,"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":["browser-extension","greasymonkey","pornhub","tampermonkey","userscript","web-extension","webextension"],"created_at":"2024-11-13T19:10:54.008Z","updated_at":"2025-04-07T05:09:39.316Z","avatar_url":"https://github.com/magicoflolis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub License](https://img.shields.io/github/license/magicoflolis/Magic-PH?style=flat-square)\n![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/magicoflolis/Magic-PH?style=flat-square)\n![GitHub Repo stars](https://img.shields.io/github/stars/magicoflolis/Magic-PH?style=flat-square)\n\n---\n\n\u003ch1 align=\"center\"\u003e\n\u003csub\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/magicoflolis/Magic-PH/refs/heads/master/assets/magicph_logo.png\" height=\"38\" width=\"38\"\u003e\n\u003c/sub\u003e\nMagicPH\n\u003c/h1\u003e\n\n\u003e [!IMPORTANT]\n\u003e This userscript / webextension violates [websites](https://github.com/magicoflolis/Magic-PH/blob/master/pages.md) content policies on `Banning Downloads`.\n\u003e\n\u003e **PLEASE USE AT YOUR OWN RISK!**\n\n_Recommend using \"ad blocker\" or \"content blocker\" ([uBlock Origin](https://github.com/gorhill/uBlock#readme)) along side._\n\nA video downloader for various adult websites. _WebExtension version has not been updated in a while, please use UserScript version!_\n\n[UserScript Changelog](https://github.com/magicoflolis/Magic-PH/blob/master/CHANGELOG.user.md)\n\n**Supported Websites:** - [List of policy violations](https://github.com/magicoflolis/Magic-PH/blob/master/pages.md)\n\n|                     Websites                      | Version (Desktop) | Version (Mobile) |\n| :-----------------------------------------------: | :---------------: | :--------------: |\n|             [Beeg](https://beeg.com)              |        ✅         |        ✅        |\n|         [Onlyfans](https://onlyfans.com)          |        ✅         |        ✅        |\n|        [Pornhub](https://www.pornhub.com)         |        ✅         |        ✅        |\n| [Pornhub Premium](https://www.pornhubpremium.com) |        ✅         |        ✅        |\n|        [RedTube](https://www.redtube.com)         |        ✅         |        ✅        |\n|          [Tube8](https://www.tube8.com)           |        ✅         |        ✅        |\n|     [Thumbzilla](https://www.thumbzilla.com)      |        ✅         |        ✅        |\n|         [xHamster](https://xhamster.com)          |        ✅         |        ✅        |\n|           [XNXX](https://www.xnxx.com)            |        ✅         |        ✅        |\n|        [xVideos](https://www.xvideos.com)         |        ✅         |        ✅        |\n|        [YouPorn](https://www.youporn.com)         |        ✅         |        ✅        |\n\n---\n\n## **Download**\n\n**UserScript:**\n\n- [Sleazy Fork](https://sleazyfork.org/scripts/492700)\n- [GitHub Repo](https://github.com/magicoflolis/Magic-PH/raw/master/dist/magicph.user.js)\n- [Open UserJS](https://openuserjs.org/scripts/Magic/MagicPH) - outdated\n\n**Web Extension (under construction):**\n\n_Firefox:_\n\n- ~~[GitHub Repo](https://github.com/magicoflolis/Magic-PH/releases)~~\n\n_Chromium:_\n\n- ~~[GitHub Repo](https://github.com/magicoflolis/Magic-PH/releases)~~\n\n**Bookmarklet (not recommended):**\n\nSave this URL as a bookmark, clicking it will cause the **UserScript version** to inject itself into the current webpage.\n\n```js\njavascript: (function () {\n  ['https://cdn.jsdelivr.net/gh/magicoflolis/Magic-PH@master/dist/magicph.user.js'].map(\n    (s) =\u003e (document.body.appendChild(document.createElement('script')).src = s)\n  );\n})();\n```\n\n## Features\n\n\u003e See [Accessing Downloader](#accessing-downloader)\n\n- General:\n  - UI designed for mobile and desktop devices\n  - Will match the websites theme.\n  - Built in tabs feature.\n  - Built in video downloader allows user to easily download and save any video in its highest quality or preferred choice.\n  - Video downloader can be combined with any 3rd party/external downloader.\n\n## Previews\n\n\u003cp\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/magicoflolis/Magic-PH/master/assets/userjs.PNG\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/magicoflolis/Magic-PH/master/assets/userjs1.PNG\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/magicoflolis/Magic-PH/master/assets/userjs2.PNG\"\u003e\n\u003c/p\u003e\n\n## Accessing Downloader\n\n**Default Method:**\n\n- Click \"**Show List**\" located to the bottom right of the page.\n- Onlyfans (**Mobile**) - Click on any video post.\n\n**Website Specific:**\n\n- Desktop / Mobile - Right click anywhere inside the video player then click \"**Video Quality(s)**\".\n- Mobile - Press \"**Video Quality(s)**\" in the video player.\n- Mobile (**Alternative**) - Press the gear icon in the video player.\n- Youporn (**Mobile**) - Press the gear icon in the video player then press \"**Video Quality(s)**\".\n\n## Tabs\n\n\u003e In a nutshell, the tab system work the same way your browser creates tabs, by default the tab is named after the host.\n\nA new tab is automatically created when a video source is found, the tab is named after the videos title.\n\n**Creating a New Tab:**\n\n\u003e Creating a new tab is as easy as clicking the \"+\" within the list.\n\nThis new tab is a search box, typing any supported method will automatically find the video source(s)!\n\nSupported Methods:\n\n- `\u003cfull url\u003e` of any supported website or `\u003chost\u003e/\u003cvideo path\u003e`\n- Beeg (**Not Supported**) - _Still a work in progress_\n- Onlyfans (**Must be on the same website**) - _Still a work in progress_, `/\u003cmodel\u003e` or `/\u003cmodel\u003e/photos|videos|audios|likes|streams|upcoming-streams`.\n- Pornhub - `/view_video.php?viewkey=\u003cvideo id\u003e` or just entering the `\u003cvideo id\u003e`.\n- RedTube - `/\u003cvideo id\u003e`\n- Tube8 - `/porn-video/\u003cvideo id\u003e/`\n- Thumbzilla - `/video/\u003cvideo id\u003e/\u003cvideo name\u003e`\n- xHamster (**Work in Progress**) - `/videos/\u003cvideo name\u003e`\n- XNXX (**Work in Progress**) - `/video-\u003cvideo id\u003e/\u003cvideo name\u003e`\n- xVideos - `/video.\u003cvideo id\u003e/\u003cvideo name\u003e`\n- Youporn (**Work in Progress**) - `/watch/\u003cvideo id\u003e/\u003cvideo name\u003e/`\n\n## Build\n\nInstall [Node.js](https://nodejs.org/) and [pnpm](https://pnpm.io/). _The version of Node.js should match or be greater than the `\"node\"` key in `package.json`._\n\n```sh\n# Install dependencies\n$ pnpm i\n```\n\n**Additional Help Links:**\n\n- [web-ext](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/)\n- [key.pem for Chrome](https://stackoverflow.com/a/46739698/9872174)\n\n**External Libraries:**\n\n- [Plyr](https://github.com/sampotts/plyr)\n\n---\n\n**UserScript:**\n\nBefore you begin, rename `.env.example` to `.env`\n\n**Recommened Testing Environments:**\n\n- **Desktop:** any browser with [ViolentMonkey](https://violentmonkey.github.io/), see [How to edit scripts with your favorite editor?](https://violentmonkey.github.io/posts/how-to-edit-scripts-with-your-favorite-editor/)\n- **Mobile:**\n  - Desktop: use \"Responsive Design Mode (Ctrl+Shift+M)\" on [FireFox Developer Edition](https://www.mozilla.org/firefox/developer/) or [FireFox](https://www.mozilla.org/firefox/)\n  - Android: any browser with UserScript support or support for installing a UserScript manager, I use [Cromite](https://github.com/uazo/cromite)\n  - IOS: any browser with UserScript support or support for installing a UserScript manager\n\n```sh\n# Watch and build to local HTTP server\n$ pnpm run dev:UserJS\n\n# Build UserScript to \"./dist\"\n$ pnpm run pub:UserJS\n```\n\n### Roadmap\n\n- Finish WebExtension version.\n- Fix any bugs along the way.\n\n### Source Code\n\n- [https://github.com/magicoflolis/Magic-PH](https://github.com/magicoflolis/Magic-PH)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicoflolis%2Fmagic-ph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicoflolis%2Fmagic-ph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicoflolis%2Fmagic-ph/lists"}