tangyoha / telegram_media_downloader_bak

基于Dineshkarthik的项目, 电报视频下载,电报资源下载,跨平台,支持web查看下载进度,支持下载已经加入的私有群但是限制下载的资源, telegram media download,Download media files from a telegram conversation/chat/channel up to 2GiB per file,项目已经永久移动到 https://github.com/tangyoha/telegram_media_downloader
MIT License
55 stars 10 forks source link

how i can activate proxy ? #12

Open Romntic opened 1 year ago

Romntic commented 1 year ago

hello how are u ? how i can activate proxy in macos for telegram_media_downloader

tangyoha commented 1 year ago

Proxy

socks4, socks5, http proxies are supported in this project currently. To use it, add the following to the bottom of your config.yaml file

proxy: scheme: socks5 hostname: 11.22.33.44 port: 1234 username: your_username password: your_password If your proxy doesn’t require authorization you can omit username and password. Then the proxy will automatically be enabled.

Romntic commented 1 year ago

hummm i read about that also but actually i search more about socks5 with details but didn't work do u has trying to test this one in reality

tangyoha commented 1 year ago

@Romntic hi,of course.it is work very well.I am also use vpn because i live in china.

tangyoha commented 1 year ago

which vpn program does you use?Check you vpn program provide port.like V2rayN,port will display on the ui bottom. image

Like this. My port is 10808,so I must config:

proxy:
  scheme: socks5
  hostname: 127.0.0.1
  port: 10808
Romntic commented 1 year ago

do u have idea from where i can get for Mac

tangyoha commented 1 year ago

@Romntic hi,i will test this in my mac.

tangyoha commented 1 year ago

@Romntic hi, I try to run on my mac, it is work very well.

Romntic commented 1 year ago

can u give me name of apps vpn u used

tangyoha commented 1 year ago

@Romntic hi, see https://github.com/yichengchen/clashX

image

so like:

proxy:
  hostname: 127.0.0.1
  port: 7890
  scheme: socks5