Coder Social home page Coder Social logo

pornhubvideodownload's Introduction

解析PornHub视频链接,获取视频地址

原理

  • 因为PornHub使用的是js混淆,直接逆向js代码以后拼接字符串就可以得到视频地址,但是不会,所以使用Java来进行字符串的处理

项目演示

API:

  • 请求接口地址 : www.guih.club:9090/resolveVideo
  • 请求方法 : POST
  • 请求参数类型 : String
  • 请求参数名称 : uri
  • 请求参数是否必须 : True
  • 返回类型 : JSON

TIPS

  • 因为PornHub在国区是不能直接访问的,所以如果需要在机器上运行则需要将ProcessUrl类中的这行代码取消注释,打上自己代理服务器的IP和端口
    client.getHostConfiguration().setProxy("127.0.0.1", 1080);

我的个人博客

pornhubvideodownload's People

Contributors

guih7 avatar

Watchers

 avatar

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.