telegram-upload
telegram-upload copied to clipboard
Can I open more than one telegram-upload to upload, using two different api's(user)?
- telegram-upload version:v0.7.1
- Python version:3.11.5
- Operating System:window10
- Dependencies list (run
pip freeze
): aiodns==3.1.1 aiofiles==23.2.1 aiohttp==3.8.6 aiosignal==1.3.1 APScheduler==3.10.4 async-timeout==4.0.3 attrs==23.1.0 biliup==0.4.31 Brotli==1.1.0 certifi==2023.7.22 cffi==1.16.0 charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 cryptg==0.4.0 frozenlist==1.4.0 h11==0.14.0 hachoir==3.2.0 idna==3.4 iso8601==2.1.0 isodate==0.6.1 jsengine==1.0.7.post1 lxml==4.9.3 m3u8==3.6.0 more-itertools==10.1.0 multidict==6.0.4 mutagen==1.47.0 numpy==1.26.1 outcome==1.2.0 pandas==2.1.1 peewee==3.17.0 Pillow==10.1.0 prompt-toolkit==3.0.39 protobuf==4.24.4 psutil==5.9.6 pyaes==1.6.1 pyasn1==0.5.0 pycares==4.4.0 pycountry==22.3.5 pycparser==2.21 pycryptodome==3.19.0 pycryptodomex==3.19.0 PySocks==1.7.1 python-dateutil==2.8.2 pytz==2023.3.post1 PyYAML==6.0.1 requests==2.31.0 rsa==4.9 six==1.16.0 sniffio==1.3.0 sortedcontainers==2.4.0 stream-gears==0.1.19 streamlink==6.2.1 telegram-upload==0.7.1 Telethon==1.31.0 tomli_w==1.0.0 trio==0.22.2 trio-websocket==0.11.1 typing_extensions==4.8.0 tzdata==2023.3 tzlocal==5.1 urllib3==2.0.6 wcwidth==0.2.8 websocket-client==1.6.4 websockets==11.0.3 wsproto==1.2.0 yarl==1.9.2 ykdl==1.8.2 yt-dlp==2023.10.13
Description
Can I open more than one telegram-upload to upload, using two different api's(user)?
Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Read the manual
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
The same account fails in the process of uploading to two different channels, one of which will fail Also, is there a value returned after a successful upload that I can add to my script so I know if the upload was successful?
My Scripts:https://github.com/myh66/UP-TG
this is not resticted by telegram-upload by telegram itself. Even in official client, you can't upload/download two files simultaneously from same user.
A bit late but, you can use the same api and upload at the same time if you use multiple linux users, I've been doing it for months without any issue.
If you copy and edit any instance of the config files, telegram-upload.json, telegram-upload.json.session and telegram-upload.session and you use this files in your call to telegram-upload, then you can have several uploads in parallel. Actually, I usually have 3 in parallel.