libertysoft3 / saidit

The reddit open source fork powering SaidIt
https://saidit.net
Other
228 stars 40 forks source link

requests.get() should use the (optional) proxy server #67

Closed libertysoft3 closed 4 years ago

libertysoft3 commented 4 years ago

All requests usages, especially requests.get(URL) like in media.py, should be checking remote_fetch_proxy_enabled and using remote_fetch_proxy_url if enabled.

requests with a proxy server: https://stackoverflow.com/a/8287752

This way tons of media providers/services can be added without having to trust them. The goal is not leaking the servers ip.

ScamCast commented 4 years ago

69 Hopefully this fixes this issue

libertysoft3 commented 4 years ago

Resolved in #69 and b0506e357f277169c191111d8248f491b3a0503e

Thanks @ScamCast