Giter VIP home page Giter VIP logo

joel2b / xvideos-pornhub-redtube-api Goto Github PK

View Code? Open in Web Editor NEW
125.0 11.0 36.0 166 KB

This script scrapes the HTML from different web pages to get the information from the video (XVideos, PornHub, RedTube) and you can use it in your own video player.

Home Page: https://appsdev.cyou/xv-ph-rt/

License: MIT License

PHP 95.10% JavaScript 3.50% CSS 0.10% HTML 1.30%
xvideos pornhub-api pornhub-scraper redtube scrapping-php crawler scrapper video php pornhub

xvideos-pornhub-redtube-api's Issues

Add YouPorn and Tube8

Could you please add YouPorn and Tube8? after adding sites to the sources.json file shows a null error(((

Blank page

I tried uploading dir to my website, but it's just a blank page

Don't get pornhub urls

Using this release I am not able to get pornhub video urls. The quality json is empty.

high is empty

hello i hope you are fine
its don't got the high url.
its empty

https://appsdev.cyou/xv-ph-rt/api/?site_id=xvideos&video_id=69701791
https://mysite.com/src/?site_id=xvideos&video_id=69701791

{"hls":{"all":"https:\/\/cdn77-vid.xvideos-cdn.com\/a6eaFEfITMQLskye-cuN-w==,1652983906\/videos_new\/hls\/58\/ac\/e7\/58ace7c6a2389d718ba32e383bc7fe5e\/hls.m3u8"},"mp4":{"high":"","low":"https:\/\/cdn77-vid-mp4.xvideos-cdn.com\/ixei7GIL5gWzr9TdZmb8Dg==,1652983907\/videos_new\/3gp\/5\/8\/a\/xvideos.com_58ace7c6a2389d718ba32e383bc7fe5e.mp4?ui=MTg1LjM3LjIzMS4xMTItL2VtYmVkZnJhbWUvNjk3MDE3OTE_cj0xNjUyOTcz"},"thumb":"https:\/\/cdn77-pic.xvideos-cdn.com\/videos_new\/thumbs169lll\/58\/ac\/e7\/58ace7c6a2389d718ba32e383bc7fe5e\/58ace7c6a2389d718ba32e383bc7fe5e.6.jpg","thumbnails":"https:\/\/appsdev.cyou\/xv-ph-rt\/api\/vtt\/eHZpZGVvc3h4eHh4eHh4eIQuPOZKjQDosFrBVWNZOX1KtJt9dZbonjIEXI50IzTCrzqFJoAHlahbZQvC2DdXp9BC04vYf6iFb9Z3AC9b_RUs-NqT1cHVmhG0z_73p4_xnRn3bwqhoslUv-Mg9LTHA3vvQ0KyFKy1MweqoT8N4J1adsqyyoQCw1BkauMeKFQUcVk-K1GeyCY7fH5ymjq4OcodSPuJzhjMQTW8Jriv6FhS5PR7_d9ElgH5MXwGUmt77_oY8WSpRCsYDJWTW9dzJbj6YL5xCEUgXlYunjM-N4fLflsKXjZn3nKJSXul1ZVSoNpyDiwuYOsApXU3YFw_Nfqw7oBF0RdhZ32cPjn1qH6C-8coP4VqtSXDVW1D6ndE"}

Pornhub mp4 links not reachable(Unauthorized)

Hi there,

The return values of Pornhub are not reachable, whenever i try to open one of the mp4 urls that i get back, I see:"Unauthorized
We're sorry, the request requires user authentication".

If I compare your output of the mp4 URL with mine I see the following

  • validfrom= and validto= parameters are diffrent from yours and mine
  • In my mp4 url the ip= parameter is included
  • And the hash= parameter is diffrent fro yours and mine

Here an example of the API output from your server:
https://ev.phncdn.com/videos/202108/13/392894661/1080P_8000K_392894661.mp4?validfrom=1643180690&validto=1643187890&rate=500k&burst=1400k&ipa={YOUR_SERVER_IP}&hash=77z0E0YMwyem74WXDaaZp8kgWAE%3D

and this is my output i get from the api running on my server
https://ev.phncdn.com/videos/202108/13/392894661/1080P_8000K_392894661.mp4?validfrom=1643181735&validto=1643188935&rate=500k&burst=1400k&ip={MY_SERVER_IP}&ipa={MY_SERVER_IP}&hash=nGiYZPZzM0N2MiFZjqbd2AoAiEY%3D

Any idea whats going wrong, has my server IP been blocked for the Pornhub CDN network? Or is there something else wrong? Btw, xvideos is working very good!

Kind regards,

Help sir,, Update

hallo sir,, my own api for pornhub,succes,,finish,

but, have problem sir, please update sir :D

pornhub have 2 link
ex: viewkey=ph12345678abc and viewkey=12345678abc

viewkey=ph12345678abc : WORK
viewkey=12345678abc : NOT work sir

thx before sir :D

Help

Warning: require_once(PEAR/Exception.php): failed to open stream: No such file or directory in /www/wwwroot/sv1.telorku.xyz/v/api/HTTP/Request2/Exception.php on line 24

Fatal error: require_once(): Failed opening required 'PEAR/Exception.php' (include_path='.:') in /www/wwwroot/sv1.telorku.xyz/v/api/HTTP/Request2/Exception.php on line 24

in my hosting sir

Mp4 HD

MP4 HD format is not working.

api-your-own-servers giving 500 error

Hi there,

The api-your-own-servers script isnt working anymore, when I check the error logs, this is what I see:

<tr><td colspan="3" style="background: #ff9999"> <b>HTTP_Request2_LogicException</b>: Invalid cookie: '&lt;!doctype html&gt;
&lt;html&gt;
 &lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
 &lt;meta name' in <b>/home/server1234/public_html/api/api-for-own-servers/server.php</b> on line <b>76</b></td></tr>
<tr><td colspan="3" style="background-color: #aaaaaa; text-align: center; font-weight: bold;">Exception trace</td></tr>
<tr><td style="text-align: center; background: #cccccc; width:20px; font-weight: bold;">#</td><td style="text-align: center; background: #cccccc; font-weight: bold;">Function</td><td style="text-align: center; background: #cccccc; font-weight: bold;">Location</td></tr>
<tr><td style="text-align: center;">0</td><td>HTTP_Request2->addCookie()</td><td>/home/server1234/public_html/api/api-for-own-servers/server.php:76</td></tr>
 <tr><td style="text-align: center;">1</td><td>Server->set_cookie_bypass()</td><td>/home/server1234 in /home/server1234/public_html/api/api-for-own-servers/HTTP/Request2.php on line 558

any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.