Rip video from p***hub at highest quality

Related tags

Video/Audio ph4k
Overview

PH4K

Rip video from p***hub at it's highest quality.

Install

  • Install nodejs.
  • Install ts-node globally: npm i -g ts-node.
  • Install Chrome to default path for puppeteer-core to resolve video url.
  • Install FFmpeg to merge video segments.
  • Clone this repository.
  • Run script below to install this cli:
npm install && npm link

Usage

ph4k login
ph4k [url] [...options]

Login

You must log in your p***hub account to access the highest quality of the video, this cli downloads the highest quality of the video only. If you don't log in your account or your account is not eligible for accessing the highest quality, it will fail. Please use youtube-dl instead if your account can't access the best quality of the video, yt-dl works for other quality options.

Run the following command to launch a Chrome tab for loging in. Cookies will be saved for downloading videos.

Command

# Login regular site
ph4k login
# Login premium site
ph4k login-premium

Manage Cookies Manually

You can write the cookies manually instead of loging in through this cli.

  • Login p***hub in your own browser instance.
  • Save cookies as json manually at ~/.config/ph4k/pornhub-cookies.json(~/.config/ph4k/pornhub-premium-cookies.json for premium site).
  • Cookies can be exported with extension like EditThisCookie from browser.

Download Video

Command

ph4k [url] [...options]

Example

ph4k "<VIDEO_URL>"
ph4k "<VIDEO_URL>" --proxy=<PROXY_URL> --headless --download-dir=<DOWNLOAD_DIR>

Options and Config

Option Key Data type Description
--proxy proxy string Proxy url.
--headless headless boolean Run in headless mode.
--download-dir downloadDir string Download directory.

There are 3 ways to set config:

  • Pass from command line argv.
  • Use ph4k set <key>=<value> command to set config.
  • Edit configs in file ~/.config/ph4k/config.json.

Download path

The default download path is ~/Downloads/ph4k/.

You might also like...

A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

Introducing FitVids.js A lightweight, easy-to-use jQuery plugin for fluid width video embeds. FitVids automates the Intrinsic Ratio Method by Thierry

Dec 24, 2022

HTML5 audio or video player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

Jan 8, 2023

A web video player built for the HTML5 world using React library.

video-react Video.React is a web video player built from the ground up for an HTML5 world using React library. Installation Install video-react and pe

Jan 6, 2023

Tonton video tutorial di YouTube saya untuk cara penginstalan & apabila kurang mengerti bisa hubungi saya di WhatsApp 🐣Klik link di bawah untuk tutorial penginstalan di heroku

Tonton video tutorial di YouTube saya untuk cara penginstalan & apabila kurang mengerti bisa hubungi saya di WhatsApp 🐣Klik link di bawah untuk tutorial penginstalan di heroku

BOTZ10 LAST Termux • Heroku • Session Setting • Thanks TERMUX Git clone this repo git clone https://github.com/zeeoneofc/BOTZ10a.git cd BOTZ10a

Dec 23, 2021

🎥 ⬇️ 📦 - Public Video URLs.

🎥 ⬇️ 📦 - Public Video URLs.

WatchVideoByLink WatchVideoByLink is a web-app that allows you to watch, download and organize public video URLs. Why WatchVideoByLink? | Installation

Dec 12, 2022

Modern browsers already had a vivid player for video

Modern browsers already had a vivid player for video

Modern browsers already had a vivid player for video. However, web developers and designers still want to custom their own style player for different situations. Sounds like web component will do a lot favor for this purpose. With msc-ez-video / support, customize control panel will become a piece of cake. msc-ez-video / adopts CSS custom properties, developers could style them as they want.

Dec 29, 2021

An open source web3 decentralized video sharing 🎥 platform running on blockchain ⛓

An open source web3 decentralized video sharing 🎥 platform running on blockchain ⛓

DapTube ⚡️ A decentralized open source video sharing 🎥 platform on web3 ⛓ ✨ Share videos & movies without restrictions 💰 Monetise your content 🔐 We

Feb 19, 2022

360Site - A website for sharing 360 video experiences.

360Site A website for sharing 360 video experiences. Links Development links happybirthdaynick-f9c86.web.app happybirthdaynick-f9c86.firebaseapp.com P

Jan 2, 2022

Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Jan 3, 2023
Releases(v1.0.0)
Owner
SHINCHVEN
SHINCHVEN
High-quality Interactive Audio/Video Uni-app SDK

如何使用 步骤一:注册并创建 uni-app 账号 搭建 App 开发环境步骤如下: 下载 HBuilderX 编辑器 。 项目中 HBuilderX 目前使用的最新版本,如果此前下载过 HBuilderX,为保证开发环境统一请更新到最新版本。 DCloud 开发者中心注册 之后登录 HBuilde

LiteAVSDK 19 Dec 20, 2022
Video.js - open source HTML5 & Flash video player

Video.js - HTML5 Video Player Video.js is a web video player built from the ground up for an HTML5 world. It supports HTML5 video and Media Source Ext

Video.js 34.8k Jan 5, 2023
A Node JS Express/Serverless demo application that creates a slideshow video using the Pexels image library and Shotstack video editing API.

Shotstack Pexels Slideshow Video Demo This project demonstrates how to use the Shotstack cloud video editing API to create a video using an HTML form

Shotstack 25 Dec 9, 2022
A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams.

MP4Inspector A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams. Installation In chrome navigate to chr

Bitmovin 48 Nov 28, 2022
Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify, apple music support . You can save your songs and play it. It also has DJ mode system.

Diwas Atreya 65 Dec 25, 2022
High-quality WebRTC SDK

腾讯云实时音视频 TRTC SDK 产品介绍 腾讯实时音视频(Tencent Real-Time Communication,TRTC),将腾讯多年来在网络与音视频技术上的深度积累,以多人音视频通话和低延时互动直播两大场景化方案,通过腾讯云服务向开发者开放,致力于帮助开发者快速搭建低成本、低延时、高

LiteAVSDK 58 Dec 18, 2022
High-quality* music player.

Laudiolin A very simple music player written in TypeScript using Tauri and React. pronounced eL-auDiO-liN Running Clone the project run npm i run npm

null 12 Dec 21, 2022
Enables

HTML5 video made easy All it takes is a single line of code to make HTML5 video and audio tags work in all major browsers. How to enable video and aud

Dave Hall 1.3k Dec 17, 2022
The HTML5 video player for the web

Flowplayer website | demos | docs For the impatient Download Flowplayer Unzip Drop the folder under your server Minimal setup <!DOCTYPE html> <head>

Flowplayer 1.9k Dec 30, 2022
HTML5

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

MediaElement.js 8k Dec 27, 2022