Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.05k stars 226 forks source link

telegram-download not showing 4GiB files #214

Open PunchEnergyFTW opened 1 year ago

PunchEnergyFTW commented 1 year ago

Description

Describe what you were trying to get done.

Tell us what happened, what went wrong, and what you expected to happen.

What I Did

pip3 install -U telegram-upload
#and then a re-login
telegram-download --from me --interactive
Nekmo commented 1 year ago

This is strange. I have done several tests downloading 4GiB files. What type of file is it?

PunchEnergyFTW commented 1 year ago

It's a RAR file which has the Max filesize for Telegram. Created with the following command: rar a -v4194304 -m0 rarfile.rar foldertorar/*

Nekmo commented 1 year ago

I have created a telegram group for this. Can you send the file to this group? I don't have premium right now so I can't test with a 4GiB file. https://t.me/pytelegramupload

Thanks

Nekmo commented 1 year ago

I'm using a free account and the files are listed correctly: Screenshot_20230804_210318

Can you provide me with more information? Thanks

PunchEnergyFTW commented 1 year ago

I am not sure what else i could provide you with.

Are there any debugging logs i can create?

I am literally doing the same as you are. (Or at least i think, because otherwise it should work?)

PunchEnergyFTW commented 1 year ago

I've just tested it on a fresh install of Ubuntu and indeed, it works there. What python version are you using?

Maybe it's a dependency issue. Some package that maybe needs a specific version?

Nekmo commented 1 year ago

I would need the output of "pip freeze" in your environment. This command returns the Python dependencies on your system. So I can replicate your environment. Thanks.

PunchEnergyFTW commented 1 year ago

Here you go, it's quite a big list since it's my "playground" machine ;)

aigpy==2022.7.8.1
aiohttp==3.8.4
aiosignal==1.3.1
anyio==3.7.1
async-timeout==4.0.2
attrs==23.1.0
babelfish==0.6.0
beautifulsoup4==4.12.2
bencode.py==4.0.0
Brotli==1.0.9
bz2file==0.98
Cerberus==1.3.4
certifi==2023.5.7
charset-normalizer==3.2.0
colorama==0.4.6
deep-translator==1.11.4
dephell-archive==0.1.7
dephell-argparse==0.1.3
dephell-changelogs==0.0.1
dephell-discover==0.2.10
dephell-licenses==0.1.7
dephell-links==0.1.5
dephell-markers==1.0.3
dephell-pythons==0.1.15
dephell-setuptools==0.2.5
dephell-shells==0.1.5
dephell-specifier==0.3.0
dephell-venvs==0.1.18
dephell-versioning==0.1.2
docutils==0.20.1
exceptiongroup==1.1.2
ffmpeg==1.4
frozenlist==1.4.0
greenlet==2.0.2
guessit==3.7.1
h11==0.14.0
hachoir==3.1.1
httpcore==0.17.3
httpx==0.24.1
idna==3.4
importlib-resources==6.0.0
isodate==0.6.1
Jinja2==3.1.2
libtorrent==2.0.9
lxml==4.9.3
m2r==0.3.1
MarkupSafe==2.1.3
mistune==0.8.4
multidict==6.0.4
mutagen==1.46.0
numpy==1.24.4
outcome==1.2.0
packaging==23.1
pandas==2.0.3
pexpect==4.8.0
prettytable==3.8.0
ptyprocess==0.7.0
pyaes==1.6.1
pyaesni==0.16
pyasn1==0.5.0
pycountry==22.3.5
pycryptodome==3.18.0
pycryptodomex==3.18.0
pydub==0.25.1
pymediainfo==6.0.1
pyperclip==1.8.2
Pyrogram==2.0.35
PySocks==1.7.1
python-dateutil==2.8.2
python-dotenv==0.10.0
python-telegram-bot==20.4
pytz==2023.3
rebulk==3.2.0
requests==2.31.0
rsa==4.9
ruamel.yaml==0.17.32
ruamel.yaml.clib==0.2.7
shellingham==1.5.0.post1
six==1.16.0
sniffio==1.3.0
sortedcontainers==2.4.0
soupsieve==2.4.1
SQLAlchemy==2.0.19
streamlink==6.0.0
Telethon==1.28.5
termcolor==2.3.0
TgCrypto==1.2.3
tmdbsimple==2.9.1
tomlkit==0.11.8
tqdm==4.62.3
trio==0.22.2
trio-websocket==0.10.3
typing_extensions==4.7.1
tzdata==2023.3
uncurl==0.0.11
uploadgram==0.2.3
urllib3==2.0.3
wcwidth==0.2.6
websocket-client==1.6.1
websockets==11.0.3
wsproto==1.2.0
yarl==1.9.2
yaspin==2.3.0
yt-dlp==2023.7.6
zipp==3.16.2