mirror of
https://github.com/Dineshkarthik/telegram_media_downloader.git
synced 2025-01-07 03:06:48 +08:00
fix: missing proxy config for pyrogram client
This commit is contained in:
parent
f2ffe14a6c
commit
1a722c12cf
@ -306,6 +306,7 @@ async def begin_import(config: dict, pagination_limit: int) -> dict:
|
||||
"media_downloader",
|
||||
api_id=config["api_id"],
|
||||
api_hash=config["api_hash"],
|
||||
proxy=config.get("proxy"),
|
||||
)
|
||||
await client.start()
|
||||
last_read_message_id: int = config["last_read_message_id"]
|
||||
|
Loading…
Reference in New Issue
Block a user