EchterAlsFake / PHUB

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

How to use This package without VPN or proxy #59

Closed bobwatcherx closed 4 months ago

bobwatcherx commented 4 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 4 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!