GithubHelp home page GithubHelp logo

Comments (5)

sskender avatar sskender commented on June 8, 2024

This look like you are unable to open a connection with the website. There is nothing wrong with the Python script.

Can you access the website through your browser? Did you try accessing with VPN or proxy?

from pornhub-api.

SurajMeena avatar SurajMeena commented on June 8, 2024

This look like you are unable to open a connection with the website. There is nothing wrong with the Python script.

Can you access the website through your browser? Did you try accessing with VPN or proxy?

yeah I am able to use it after retrying for 2-3 times. I understand why the issue persists.
I had another doubt in it's usage how can we use proxy and keywords in client together ?

from pornhub-api.

SurajMeena avatar SurajMeena commented on June 8, 2024

Also can you help me in pointing out from where can I get a valid proxy and port to feed into client ?

from pornhub-api.

sskender avatar sskender commented on June 8, 2024

You should be able to do it like this:
client = pornhub.PornHub("5.135.164.72", 3128, keywords)

Or like this, to be more precise:
client = pornhub.PornHub(ProxyIP="5.135.164.72", ProxyPort=3128, keywords=["word1", "word2"])

Be careful, proxy IP and port are stated here only for example and do not represent a real server. You have to find yourself a real proxy server and use its settings. Simple Google search like free proxy servers can lead you to this website https://fossbytes.com/free-proxy-list/

I do not use proxy servers much, so I won't be much of a help, but I hope you find a working one.

from pornhub-api.

SurajMeena avatar SurajMeena commented on June 8, 2024

thankyou so much.......it is a kind request to update readme to include parameters that can be passed in it.

from pornhub-api.

Related Issues (20)

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.