yshalsager / facebook2rss

Turn Facebook feeds into RSS!
GNU General Public License v3.0
34 stars 5 forks source link

Support usage of HTTP/SOCKS proxies #3

Closed yshalsager closed 3 years ago

yshalsager commented 3 years ago

Playwright supports the usage of HTTP/SOCKS proxy, so it should be easy to utilize this via CLI arguments.

https://playwright.dev/python/docs/api/class-browsertype?_highlight=proxy#browser_typelaunchkwargs

yshalsager commented 3 years ago

Added in https://github.com/yshalsager/facebook2rss/commit/169f2d4be25e4de17e58e7c3b56ea0f632640697

To use it, copy config_example.env and change

PROXY_SERVER=""  # Supports http and socks proxies. e.g.  http://myproxy.com:3128 or socks5://myproxy.com:3128
PROXY_USERNAME=""
PROXY_PASSWORD=""