Giter VIP home page Giter VIP logo

kalanakt / all-url-uploader Goto Github PK

View Code? Open in Web Editor NEW
361.0 7.0 909.0 1.35 MB

A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

Home Page: https://urluploader.vercel.app

License: MIT License

Python 99.63% Procfile 0.06% Dockerfile 0.31%
url telegram-bot urluploder heroku-deployment youtube medifile googledrive megadrive telegram bot

all-url-uploader's Introduction

Get Your Bot Developed and Hosted for Free! 🔥

Are you tired of paying for bot hosting? Look no further! I offer affordable bot development services starting at just $5, and all bots are hosted for free on vercel.com Whether you need a chatbot, a trading bot, or anything in between, I've got you covered. Contact me on fiverr today to get started.



Check Out Youtube Video & Playlist Downloder Bot

Awesome Heroku


Download YouTube videos and playlists. It supports both video and audio downloads, and provides a variety of resolution and format options for video downloads.

Try Now...


@TMWAD logo

GitHub Sparkline


Awesome Telegram GitHub code size in bytes CodeFactor GitHub issues GitHub GitHub Repo stars GitHub last commit


⛩ Introduction

A simple Telegram bot, upload media file | video to Telegram using the direct download link. (YouTube, Mediafire, Google Drive, Mega drive, etc)

  • YouTube, Google Drive, Apple Music, Spotify, Resso, & direct Links support.
  • Bot can upload documents and files of video & audio types.
  • Deploy to Heroku | locally | VPS.
  • Custom thumbnail support.
  • /thumb - view your custom thumbunli
  • /delthumb - delete your custom thumbunli

🔥 Getting Started [Documentation]

A simple Telegram Bot, upload media file | video To Telegram using the direct download link. (YouTube, Mediafire, Google Drive, Mega drive, etc)

Complete Documentation for All-Url-Uploader Bot


⚡️ Ecosystem

Version Status Description
v1.0.0 ☑ Upload all ytdl links, direct links
v2.0.0 ☑ Upload all ytdl links, direct links, google drive etc. (Speed is much higher than version 1)
v2.0.1 ☑ custom thumbnail support, fixed youtube download
v2.0.2 ☑ fixed Bugs in v2.0.1, Modify custom thumbnail support

🎯 To-Dos

  • deploy to vps setup
  • custom thumbnail support
  • custom caption support
  • mega.nz support
  • pdisk support

💥 Deploy

Deploy To Heroku
  • Fork the repo
  • Copy forked repo link
  • Click Here To Continue.
Deploy Locally

# Fork Repo
# Edit Uploader/config.py with variables

git clone <YOUR_REPO_LINK> cd <YOUR_REPO_NAME> pip3 install -U -r requirements.txt python3 bot.py

Deploy To VPS

git clone https://github.com/kalanakt/All-Url-Uploader
cd All-Url-Uploader
pip3 install -U -r requirements.txt
# Edit Uploader/config.py with variables.
python3 bot.py


⁉ Questions

For questions and support please use Discussions. The issue list of this repo is exclusively for bug reports and feature requests.


⚠️ Issues

Please make sure to read the Issue Reporting Checklist. before opening an issue. Issues not conforming to the guidelines may be closed immediately.


📜 Changelog

Detailed changes for each release are documented in the main commits

Full Changelog: v1.0.0 Full Changelog: v1.0.0...v2.0.0 Full Changelog: v2.0.0...v2.0.1 Full Changelog: v2.0.1...v2.0.2

🔮 Stay In Touch


📊 Contribution

Hash Minner
Hash Minner

💻 🤔 🚇 🚧 ⚠️
TAMILVIP007
TAMILVIP007

💻
ananth-28
ananth-28

💻
Danil
Danil

💻
millysboy
millysboy

💻 🤔
All Contributors
All Contributors

🎨
HYBRID
HYBRID

💻
Damin.du
Damin.du

💻
Avika Trivedi
Avika Trivedi

💻

If you have a this bot-related bug fix/component/tool/idea, add it with a pull request. Thank you to all the people who contributed to this project!

Open in Codeflow

💖 Thanks To

This bot is developed by using many Github open source projects.

Special thanks to people who starred to this repo and contributed to this project


💷 License

MIT License

Star History

Star History Chart


Copyright (c) 2022-present Hash Minner

all-url-uploader's People

Contributors

allcontributors[bot] avatar avikatrivedi avatar dependabot[bot] avatar divarion-d avatar fzsouser avatar hybridvamp avatar imgbotapp avatar kalanakt avatar libresoul avatar renovate[bot] avatar tamilvip007 avatar tromcho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

all-url-uploader's Issues

[ bug reports ]

After running the bot it says there is no plugin to load from plugins
image

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • python 3.10.6-slim-buster
html
docs/index.html
  • font-awesome 4.7.0
pip_requirements
requirements.txt
  • pyrogram ==2.0.43
  • filesplit ==4.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

[ bug reports ] Bot not respond railway

I have deploy successful bot in railway, but bot is not responding on telegram.

[2022-12-29 06:39:08 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-12-29 06:39:08 +0000] [1] [INFO] Listening at: http://0.0.0.0:6645/ (1)
[2022-12-29 06:39:08 +0000] [1] [INFO] Using worker: sync
[2022-12-29 06:39:09 +0000] [7] [INFO] Booting worker with pid: 7

[ bug reports ] pyrogram.dispatcher - ERROR - 'int' object is not callable

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

Describe the bug
pyrogram.dispatcher - ERROR - 'int' object is not callable
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Deploy In [e.g. locally, heroku, digital ocean]
  • Version [e.g. v.2.0.0]

Additional context
Add any other context about the problem here.

Can't upload gdrive link !!

Hi , i tried the updated code on vps .
it worked with direct links.
but it didn't work with google drive link and
showing the error like this

" Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")
https://drive.google.com/file/d/19Vs9Iq0sn683T_axQ-fFM1l3SVv5Var_/view?usp=sharing
Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--allow-dynamic-mpd', '-j', 'https://drive.google.com/file/d/19Vs9Iq0sn683T_axQ-fFM1l3SVv5Var_/view?usp=sharing']
Uploader.echo - INFO - ERROR: [GoogleDrive] 19Vs9Iq0sn683T_axQ-fFM1l3SVv5Var_: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
"

VPS Running error issue

Checklist

Screenshots
Traceback (most recent call last):
File "/home/ubuntu/All-Url-Uploader/bot.py", line 52, in
Uploadbot.run()
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/utilities/run.py", line 84, in run
self.start()
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/utilities/start.py", line 58, in start
is_authorized = await self.connect()
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/auth/connect.py", line 40, in connect
await self.load_session()
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/client.py", line 574, in load_session
raise AttributeError("The API key is required for new authorizations. "

Youtube downloads seems to be file-conflicting between extensions

I locally mounted this bot to test it before pushing to a VPS, it seems like the bot is not successfully getting files as the wanted extension.

For instance, i've tried dowloading this video [ https://www.youtube.com/watch?v=snTo1SZC4l4 ] as a .mp3 in the hightest quality, this happened:

https://pastebin.com/KFY51ed2

These logs shows how theres isnt a .mp3 in the given directory (line 52):

FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/1188403504RGxuJ/New Serena - Yakuza 4 (Extended)_320k.mp3'

However, when entering into the docker container and looking for it, the given folder actually contains a .webm:

root@82a07730ecbb:/DOWNLOADS/1188403504RGxuJ# ls
'New Serena - Yakuza 4 (Extended)_320k.webm'

(Plus: It successfully downloads as a video when choosing a .webm option, but after trying with other videos it seems to varies like this other one https://www.youtube.com/watch?v=dILwncYeLzs who downloads a .mkv)

V.2.1.1 Update

import updates

  • custom thumbnail support
  • custom footer caption
  • increase downloading speed
  • #33
  • pdisk

updating bot to program v2 may increase the speed of downloading

Youtube link is not woking

Describe the bug
After sending a YouTube video link we get option to chose video or audio but then we get loading but the uploading not start.

Our location is Afghanistan and I am using one of Afghanistan http_proxy = 180.94.64.58:8080

Expected behavior
Just start downloading youtube downloading

Desktop (please complete the following information):

  • OS: [ iOS, macOS]
  • Deploy In [fly.io]
  • Version [v.2.0.106]

AttributeError: type object 'Translation' has no attribute 'FREE_USER_LIMIT_Q_SZE'

WHEN I TRY TO DOWLOAD THE SECOND M3U8 FILE
IT SAYS

pyrogram.dispatcher - ERROR - type object 'Translation' has no attribute 'FREE_USER_LIMIT_Q_SZE'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/root/All-Url-Uploader/Uploader/echo.py", line 145, in echo
await bot.edit_message_text(chat_id=update.chat.id, text=Translation.FREE_USER_LIMIT_Q_SZE.format(process_max_timeout, present_time), disable_web_page_preview=True, message_id=chk.id)
AttributeError: type object 'Translation' has no attribute 'FREE_USER_LIMIT_Q_SZE'

Help

i am new to github and have no idea how to deploy it on heroku, i tried deploying it from your {easiest heroku Deploy}, but got message -

[ Item could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy. ]
while deploying on heroku

Heroku Stop Free Plan - After I am Using Render

As the Heroku free plan will be deactivated starting next month. Can this be set to run on Render? I tried to install on render. But it didn't work. Please make this playable on Render. It doesn't matter if it's another free service. Thank You :)

This error occurs after Select the video Option.

Sep 1 12:40:33 PM main - INFO - Bot Started :)
Sep 1 12:43:38 PM Uploader.echo - INFO - {
Sep 1 12:43:38 PM "_": "User",
Sep 1 12:43:38 PM "id": 1144453985,
Sep 1 12:43:38 PM "is_self": false,
Sep 1 12:43:38 PM "is_contact": false,
Sep 1 12:43:38 PM "is_mutual_contact": false,
Sep 1 12:43:38 PM "is_deleted": false,
Sep 1 12:43:38 PM "is_bot": false,
Sep 1 12:43:38 PM "is_verified": false,
Sep 1 12:43:38 PM "is_restricted": false,
Sep 1 12:43:38 PM "is_scam": false,
Sep 1 12:43:38 PM "is_fake": false,
Sep 1 12:43:38 PM "is_support": false,
Sep 1 12:43:38 PM "is_premium": false,
Sep 1 12:43:38 PM "first_name": "නිකමා",
Sep 1 12:43:38 PM "status": "UserStatus.RECENTLY",
Sep 1 12:43:38 PM "username": "kama1",
Sep 1 12:43:38 PM "language_code": "si-lk"
Sep 1 12:43:38 PM }
Sep 1 12:43:38 PM Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--allow-dynamic-mpd', '-j', 'https://gofile.io/d/xRFHlg']
Sep 1 12:43:44 PM Uploader.echo - INFO -
Sep 1 12:43:51 PM Uploader.dl_button - INFO - https://gofile.io/d/xRFHlg
Sep 1 12:43:51 PM Uploader.dl_button - INFO - xRFHlg.mp4
Sep 1 12:43:52 PM pyrogram.dispatcher - ERROR - 'Content-Length'
Sep 1 12:43:52 PM Traceback (most recent call last):
Sep 1 12:43:52 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
Sep 1 12:43:52 PM await handler.callback(self.client, *args)
Sep 1 12:43:52 PM File "/Uploader/callbacks.py", line 65, in button
Sep 1 12:43:52 PM await ddl_call_back(bot, update)
Sep 1 12:43:52 PM File "/Uploader/dl_button.py", line 92, in ddl_call_back
Sep 1 12:43:52 PM await download_coroutine(bot, session, youtube_dl_url, download_directory, update.message.chat.id, update.message.id, c_time)
Sep 1 12:43:52 PM File "/Uploader/dl_button.py", line 154, in download_coroutine
Sep 1 12:43:52 PM total_length = int(response.headers["Content-Length"])
Sep 1 12:43:52 PM KeyError: 'Content-Length'

This error occurs after giving a Google Drive link. The message to select the video type comes twice.

Sep 1 12:56:09 PM main - INFO - Bot Started :)
Sep 1 12:56:56 PM Uploader.echo - INFO - {
Sep 1 12:56:56 PM "_": "User",
Sep 1 12:56:56 PM "id": 1144453985,
Sep 1 12:56:56 PM "is_self": false,
Sep 1 12:56:56 PM "is_contact": false,
Sep 1 12:56:56 PM "is_mutual_contact": false,
Sep 1 12:56:56 PM "is_deleted": false,
Sep 1 12:56:56 PM "is_bot": false,
Sep 1 12:56:56 PM "is_verified": false,
Sep 1 12:56:56 PM "is_restricted": false,
Sep 1 12:56:56 PM "is_scam": false,
Sep 1 12:56:56 PM "is_fake": false,
Sep 1 12:56:56 PM "is_support": false,
Sep 1 12:56:56 PM "is_premium": false,
Sep 1 12:56:56 PM "first_name": "නිකමා",
Sep 1 12:56:56 PM "status": "UserStatus.RECENTLY",
Sep 1 12:56:56 PM "username": "kama1",
Sep 1 12:56:56 PM "language_code": "si-lk"
Sep 1 12:56:56 PM }
Sep 1 12:56:56 PM Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--allow-dynamic-mpd', '-j', 'https://drive.google.com/file/d/1GdJdcHwKZWAgn6vWSjrkyDOeb5rgvybt/view?usp=sharing']
Sep 1 12:57:03 PM Uploader.echo - INFO -
Sep 1 12:57:31 PM pyrogram.dispatcher - ERROR - Telegram says: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "messages.EditMessage")
Sep 1 12:57:31 PM Traceback (most recent call last):
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
Sep 1 12:57:31 PM await handler.callback(self.client, *args)
Sep 1 12:57:31 PM File "/Uploader/callbacks.py", line 63, in button
Sep 1 12:57:31 PM await youtube_dl_call_back(bot, update)
Sep 1 12:57:31 PM File "/Uploader/button.py", line 110, in youtube_dl_call_back
Sep 1 12:57:31 PM await update.message.edit_caption(
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 2828, in edit_caption
Sep 1 12:57:31 PM return await self._client.edit_message_caption(
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/messages/edit_message_caption.py", line 67, in edit_message_caption
Sep 1 12:57:31 PM return await self.edit_message_text(
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/messages/edit_message_text.py", line 80, in edit_message_text
Sep 1 12:57:31 PM r = await self.invoke(
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
Sep 1 12:57:31 PM r = await self.session.invoke(
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 361, in invoke
Sep 1 12:57:31 PM return await self.send(query, timeout=timeout)
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 331, in send
Sep 1 12:57:31 PM RPCError.raise_it(result, type(data))
Sep 1 12:57:31 PM File "/usr/local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
Sep 1 12:57:31 PM raise getattr(
Sep 1 12:57:31 PM pyrogram.errors.exceptions.bad_request_400.MessageIdInvalid: Telegram says: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "messages.EditMessage")

[ bug reports ] Can't Upload bigger file than 2000MB

Checklist

  • [✓] I added a descriptive title
  • [✓] I searched for other issues and couldn't find a solution or duplication
  • [✓] I already searched in Google and didn't find any good information or help

Describe the bug
A clear and concise description of what the bug is.
I added a premium account API_ID & API_HASH but when i try to upload Bigger files than 2GB it says it can't upload Bigger file than 2000MB
Expected behavior
A clear and concise description of what you expected to happen.
It should upload Bigger files than 2Gb
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Android, Desktop, iOS]
  • Deploy In [Heroku]
  • Version [v.2.0.2]

Additional context
Add any other context about the problem here.

[ bug reports ] Can't Download Unplayable Gdrive Videos

Checklist

  • [✓] I added a descriptive title
  • [✓] I searched for other issues and couldn't find a solution or duplication
  • [✓] I already searched in Google and didn't find any good information or help

Describe the bug
A clear and concise description of what the bug is.
Some videos that haven't been processed for been played in different qualities or some unplayable Videos can't be downloaded by the bot but in reality you can download those unplayable videos but can't play them so if we have an option to download those videos it would be great
Expected behavior
A clear and concise description of what you expected to happen.
Downloads Unplayable Gdrive Videos with a different option
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Deploy In [e.g. locally, heroku, digital ocean]
  • Version [e.g. v.2.0.0]

Additional context
Add any other context about the problem here.

Total length error[ bug reports ]

I got this error when I want bot to download link Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/callbacks.py", line 41, in button
await ddl_call_back(bot, update)
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/dl_button.py", line 85, in ddl_call_back
await download_coroutine(
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/dl_button.py", line 243, in download_coroutine
total_length = int(response.headers["Content-Length"])
KeyError: 'Content-Length

request

request the set caption feature and the upload mode feature, "like uploading in the form of documents or video streaming"
IMG_20220216_134528

Getting suspention from heroku

It have been noticed that I am getting suspention from heroku... On doing any url uploading tasks... While uploading (eg: Zee5 link etc.. )

Ubuntu VPS Doesnt Work

I installed this on an Ubuntu VPS. I followed all the instructions properly. But the program is not running. Please someone help. Check out the photos below.

.
IMG_20230306_141106
IMG_20230306_141004

[ bug reports ]

I installed the program to Ubuntu VPS. Then gave a link in YouTube video. It didn't work. The error was found and installed Yt-DLP and FFMPEG. Then the bugs were then resolved but a new error occurred.

Asking the video type when the link is given. I have chosen 480p mp4. No other formats in 480p.

Download MP4 and Webm files separately. Then the two files are merge. The extension of the last file is received as MP4.MKV

There is a "no file" error. The program is looking for the mp4 file and secondly seek MKV file. But the extension of the file is mp4.mkv

So Download video is not upload. Therefore, after I downloaded the video, I edited the extension, mkv. Then returned the link and copy the file to the new download folder. Then the task is complete without problems.

But this is not possible again. Very troubled. Every link will have to download twice. Please help.

Video Link - https://youtube.com/watch?v=lvNT-Ahof7A

Sorry about my English. I used Guggle translations.

image

[ bug reports ] SSL issue Raised How to skip ssl check

#Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Deploy In [e.g. locally, heroku, digital ocean]
  • Version [e.g. v.2.0.0]

Additional context
Add any other context about the problem here.


Screenshot_2022-08-27-19-52-04-430_org telegram messenger

Fix that

Failing Upload mp4 (No such file)

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

Describe the bug
If I send a YouTube link and try to download in mp4 I get this error:

2022-09-02 14:22:59,153 - Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--allow-dynamic-mpd', '-j', 'https://www.youtube.com/watch?v=Tb2upmuGNk8']
2022-09-02 14:23:00,992 - Uploader.echo - INFO -
video|137|mp4|KbVte
2022-09-02 14:23:09,274 - Uploader.button - INFO - ['yt-dlp', '-c', '--max-filesize', '4194304000', '--embed-subs', '-f', '137+bestaudio', '--bidi-workaround', 'https://www.youtube.com/watch?v=Tb2upmuGNk8', '-o', './DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4', '--no-warnings']
2022-09-02 14:23:12,938 - Uploader.button - INFO -
2022-09-02 14:23:12,938 - Uploader.button - INFO - [youtube] Tb2upmuGNk8: Downloading webpage
[youtube] Tb2upmuGNk8: Downloading android player API JSON
[info] Tb2upmuGNk8: Downloading 1 format(s): 137+251
[download] Destination: ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f137.mp4
[download] 100% of 62.67MiB in 00:01 at 42.96MiB/s
[download] Destination: ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f251.webm
[download] 100% of 2.87MiB in 00:00 at 26.74MiB/s
[Merger] Merging formats into "./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.mkv"
Deleting original file ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f137.mp4 (pass -k to keep)
Deleting original file ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f251.webm (pass -k to keep)
[EmbedSubtitle] There aren't any subtitles to embed
2022-09-02 14:23:12,938 - Uploader.button - INFO - [youtube] Tb2upmuGNk8: Downloading webpage
[youtube] Tb2upmuGNk8: Downloading android player API JSON
[info] Tb2upmuGNk8: Downloading 1 format(s): 137+251
[download] Destination: ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f137.mp4
[download] 100% of 62.67MiB in 00:01 at 42.96MiB/s
[download] Destination: ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f251.webm
[download] 100% of 2.87MiB in 00:00 at 26.74MiB/s
[Merger] Merging formats into "./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.mkv"
Deleting original file ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f137.mp4 (pass -k to keep)
Deleting original file ./DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4.f251.webm (pass -k to keep)
[EmbedSubtitle] There aren't any subtitles to embed
2022-09-02 14:23:12,939 - pyrogram.dispatcher - ERROR - [Errno 2] No such file or directory: './DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mkv'
Traceback (most recent call last):
File "/home/Bots/YTBot/All-Url-Uploader/Uploader/button.py", line 198, in youtube_dl_call_back
file_size = os.stat(download_directory).st_size
FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/Bots/.local/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/home/Bots/YTBot/All-Url-Uploader/Uploader/callbacks.py", line 63, in button
await youtube_dl_call_back(bot, update)
File "/home/Bots/YTBot/All-Url-Uploader/Uploader/button.py", line 203, in youtube_dl_call_back
file_size = os.stat(download_directory).st_size
FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/43817863Ykgab/Frei.Wild - Feinde deiner Feinde [Offizieller Videoclip]_137.mkv'

Expected behavior
Upload the video in mp4

Desktop (please complete the following information):

  • OS: Debian 11
  • Deploy In VPS
  • Version 2.0.2

[ bug reports ] LONG ERROR......

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

Describe the bug
Uploader.echo - INFO -
pyrogram.dispatcher - ERROR - 'Message' object is not callable
Traceback (most recent call last):
File "/Uploader/button.py", line 40, in youtube_dl_call_back
with open(save_ytdl_json_path, "r", encoding="utf8") as f:
FileNotFoundError: [Errno 2] No such file or directory: './DOWNLOADS/1889968310gAdNb.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/Uploader/callbacks.py", line 36, in button
await youtube_dl_call_back(bot, update)
File "/Uploader/button.py", line 43, in youtube_dl_call_back
await update.message(f"error: {e}")
TypeError: 'Message' object is not callable

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Deploy In [e.g. locally, heroku, digital ocean]
  • Version [e.g. v.2.0.0]

Additional context
Add any other context about the problem here.

Video is still processing. Try again later.

2022-10-27 15:39:10,867 - Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--allow-dynamic-mpd', '-j', 'https://drive.google.com/uc?id=1FVHINKYtreE4DA8nhytERbGTLxgW7qQV']
2022-10-27 15:39:11,646 - Uploader.echo - INFO - ERROR: [GoogleDrive] 1FVHINKYtreE4DA8nhytERbGTLxgW7qQV: Video is still processing. Try again later.
INFO - ERROR: [GoogleDrive] 1FVHINKYtreE4DA8nhytERbGTLxgW7qQV: Video is still processing. Try again later.

4GB Error

2022-07-13 05:51:56,282 - pyrogram.dispatcher - ERROR - Telegram doesn't support uploading files bigger than 2000 MiB
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker
await handler.callback(self.client, *args)
File "/root/upload/upload/All-Url-Uploader/plugins/cb_buttons.py", line 17, in button
await ddl_call_back(bot, update)
File "/root/upload/upload/All-Url-Uploader/plugins/dl_button.py", line 147, in ddl_call_back
await bot.send_document(
File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_document.py", line 163, in send_document
file = await self.save_file(document, progress=progress, progress_args=progress_args)
File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/save_file.py", line 129, in save_file
raise ValueError("Telegram doesn't support uploading files bigger than 2000 MiB")
ValueError: Telegram doesn't support uploading files bigger than 2000 MiB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.