EchterAlsFake / PHUB

A lightweight API for Pornhub
https://phub.rtfd.io
GNU General Public License v3.0
76 stars 25 forks source link

How to use This package without VPN or proxy #59

Closed bobwatcherx closed 7 months ago

bobwatcherx commented 7 months ago

because pornhub and this package is blocked in my country . how to use this package with proxy or if possible even without a proxy . because i will make backend with this package for my web thx

Egsagon commented 7 months ago

Hi, if your country blocks Pornhub, this API is blocked too. You can use proxies like so:

import phub

client = phub.Client(proxies = {'https': '<protocol>://<ip>'})

Hope this helps!

bobwatcherx commented 2 months ago

how to make own proxy server . with python and can i deploy self you have tutorial or package . i will deploy in my vps

EchterAlsFake commented 2 months ago

Sorry, but we can't help you with that. Please use an online tutorial for that.

Good Luck.