Giter Club home page Giter Club logo

google-drive-telegram-bot's Introduction

Google Drive Uploader Telegram Bot

A Telegram bot to upload files from Telegram or Direct links to Google Drive.

Features

  • Telegram files support.
  • Direct Links support.
  • Custom Upload Folder.
  • TeamDrive Support.
  • Clone/Copy Google Drive Files.
  • Delete Google Drive Files.
  • Empty Google Drive trash.
  • youtube-dl support.

ToDo

  • Handle more exceptions.
  • LOGGER support.
  • Service account support.
  • Update command.

Deploying

Deploy on Heroku

Deploy

Installation

  • Install required modules.
apt install -y git python3 ffmpeg
  • Clone this git repository.
git clone https://github.com/viperadnan-git/google-drive-telegram-bot
  • Change Directory
cd google-drive-telegram-bot
  • Install requirements with pip3
pip3 install -r requirements.txt

Configuration

There are two Ways for configuring this bot.

  1. Add values to Environment Variables. And add a ENV var to Anything to enable it.
  2. Add values in config.py. And make sure that no ENV environment variables existing.

Configuration Values

  • BOT_TOKEN - Get it by contacting to BotFather
  • APP_ID - Get it by creating app on my.telegram.org
  • API_HASH - Get it by creating app on my.telegram.org
  • SUDO_USERS - List of Telegram User ID of sudo users, seperated by space.
  • SUPPORT_CHAT_LINK - Telegram invite link of support chat.
  • DATABASE_URL - Postgres database url.
  • DOWNLOAD_DIRECTORY - Custom path for downloads. Must end with a forward / slash. (Default to ./downloads/)

Deploy

python3 -m bot

Credits

Copyright & License

google-drive-telegram-bot's People

Contributors

bottutorials avatar lucifer7535 avatar viperadnan-git 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-drive-telegram-bot's Issues

progressbar

please add download and upload Progress Bar

sleep problem

Hi.
I noticed if you send a few files like 6-7 then the bot just stops working.
when checked heroku logs I noticed this sleep function:

2021-02-20T10:01:50.180952+00:00 app[worker.1]: 2021-02-20 10:01:50,180 - pyrogram.session.session - WARNING - [G-DriveBot] Sleeping for 3s (required by "raw.functions.upload.GetFile")
2021-02-20T10:01:53.627754+00:00 app[worker.1]: 2021-02-20 10:01:53,627 - pyrogram.session.session - WARNING - [G-DriveBot] Sleeping for 3s (required by "raw.functions.upload.GetFile")
2021-02-20T10:01:53.656675+00:00 app[worker.1]: 2021-02-20 10:01:53,656 - pyrogram.session.session - WARNING - [G-DriveBot] Sleeping for 3s (required by "raw.functions.upload.GetFile")
2021-02-20T10:01:58.645293+00:00 app[worker.1]: 2021-02-20 10:01:58,644 - pyrogram.session.session - WARNING - [G-DriveBot] Sleeping for 3s (required by "raw.functions.upload.GetFile")

what is the use of it? the bot goes into constant sleep if the number of files is more than 5-6

Error while uploading folder having subfolders

Input

These are the contents of the source folder which I uploaded having 4 subfolders and these individual folders have their own set of subfolders as well. So when I upload the source folder, it uploads each and every subfolder present in the source folder separately outside the source folder. See the below output image.

Output
[Here I have scratched the contents to avoid any problems.]

The folder marked with red ink is the source folder, folders marked with light blue are the subfolders inside the source folder and all the other folders are the subfolders inside the subfolders of the source folder.

So when I try to upload a folder having subfolders which in turn has subfolders it uploads as I described above, and does not upload as the contents (or original formatting) of the source folder. This is the problem that I am facing.

I tried my best to explain this issue, I hope you understand. Please try to provide a solution for this🙏🏻

Token authorization

Hi, your work is awesome, Just some issues after using the bot for a while, the bot suddenly doesn't authorise users, in that it doesn't take the token sent by the users.

How To Enadle Teamdrive

How to enable Google teamdrive in this bot? I see it at README.md but I dont see the measure to set up it.

Error in Heroku Deployment

i am able to run in local but not in heroku ,heroku logs

2021-03-19 10:38:23,937 - main - INFO - Starting Bot !
Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/app/.heroku/python/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/app/bot/main.py", line 35, in
app.run()
File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/utilities/run.py", line 61, in run
self.start()
File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/sync.py", line 51, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/app/.heroku/python/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
return future.result()
File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/utilities/start.py", line 68, in start
await self.initialize()
File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/auth/initialize.py", line 44, in initialize
self.load_plugins()
File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/client.py", line 717, in load_plugins
module = import_module(module_path)
File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/app/bot/plugins/authorize.py", line 11, in
from bot.helpers.sql_helper import gDriveDB
File "/app/bot/helpers/sql_helper/init.py", line 19, in
SESSION = start()
File "/app/bot/helpers/sql_helper/init.py", line 9, in start
engine = create_engine(DATABASE_URL)
File "", line 2, in create_engine
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/deprecations.py", line 298, in warned
return fn(*args, **kwargs)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/create.py", line 522, in create_engine
entrypoint = u._get_entrypoint()
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/url.py", line 653, in _get_entrypoint
cls = registry.load(name)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 342, in load
"Can't load plugin: %s:%s" % (self.group, name)
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres

gupload-niraj-console-1616150315198.txt

Please make public link

After succesfull uploaded please make anyone can be accesed file / set permission reader, anyone

Thanks

Bot deployed in heroku but not working

Heroku logs
**

2020-12-18T16:26:50.000498+00:00 app[worker.1]:

2020-12-18T16:26:54.004147+00:00 app[worker.1]: 2020-12-18 16:26:54,003 - root - INFO - Started 12 HandlerTasks

2020-12-18T16:27:55.097124+00:00 app[api]: Scaled to worker@0:Free by user

2020-12-18T16:27:55.163755+00:00 heroku[worker.1]: State changed from up to down

2020-12-18T16:27:56.044667+00:00 heroku[worker.1]: Stopping all processes with SIGTERM

2020-12-18T16:27:56.073318+00:00 app[worker.1]: 2020-12-18 16:27:56,073 - root - INFO - Stop signal received (15). Exiting...

2020-12-18T16:27:56.094977+00:00 app[worker.1]: 2020-12-18 16:27:56,094 - root - INFO - Stopped 12 HandlerTasks

2020-12-18T16:27:56.095896+00:00 app[worker.1]: 2020-12-18 16:27:56,095 - main - INFO - Bot Stopped !

2020-12-18T16:27:56.292692+00:00 heroku[worker.1]: Process exited with status 0

2020-12-18T16:27:58.256497+00:00 app[api]: Scaled to worker@1:Free by user

2020-12-18T16:28:07.521418+00:00 heroku[worker.1]: Starting process with command python -m bot

2020-12-18T16:28:08.178423+00:00 heroku[worker.1]: State changed from starting to up

2020-12-18T16:28:12.381747+00:00 app[worker.1]: 2020-12-18 16:28:12,377 - main - INFO - Starting Bot !

2020-12-18T16:28:14.189222+00:00 app[worker.1]: Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance

2020-12-18T16:28:14.189331+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

2020-12-18T16:28:14.189334+00:00 app[worker.1]:

2020-12-18T16:28:18.014316+00:00 app[worker.1]: 2020-12-18 16:28:18,014 - root - INFO - Started 12 HandlerTasks

**

403 error

can you help me?
i create a bot from https://github.com/viperadnan-git/google-drive-telegram-bot and deploy it on heroku.
my bot start and Auth is working, and files were uploaded but when i open download link, i see this error:
403. That’s an error.
We're sorry, but you do not have access to this page. That’s all we know.

Some Folder Missing

While cloning team drive folder to my team drive bot don't clone main folder and clone the thing in that folder. I really want it to clone folder too as it help in arranging file too much. Please fix it asap.

Features request

add cancel button and status bar while downloading/uploading
add queue and multi-download/upload
setfolder feature can selete GDrive folder

Google drive Folder

Where to select the custom Google Drive folder
Any detailed explanation
Or video about that

Very useful feature

A/w

  1. please add button for ytdl video quality support ..
  2. many times link not working showing error
  3. please use full ytdl sites support
  4. please increase speed
  5. add playlist support

How to ban/restrict people/telegram-IDs using/spamming my bot

Thank you for this wonderful bot codes.
I am running this bot in my server.
and I found that anyone can use my bot
(FYI:- Only I am added as "sudo user" in config.py)

Can u implement some restrictions?
for example

Only peeps/IDs added in "sudo user" can use it
or
A ban command (like /banuser 1090706143)

Hope people will like this idea (its much needed to avoid bot spamming by random peeps)

Thank you again and looking forward for this feature

Some bugs and request

  1. many ytdl site not supporting
  2. ytdl quality not supporting like Download in 720p 1080p (please use ytdl support like hk driver bot that shows quality options after sending link
  3. many direct link not working saying http error
  4. no process bar
    please add support fir
  5. zippyshare,indishare,clickandupload,9xshare,bdupload etc.

rclone

error rclone authorized, and please update features downloading/uploading status 👍

It's bug

The authetication code not verifying. can you fix this please

Download And upload

1-Please Added download and upload Showing Progress Bar
2-please Added Cloudflare Worker
3-Please Added Directly Files To Link Teligram Streame Videos without Uploading Local like MX player Vlc🤝🙏 Thank You

no error but i cant run

i Deploy on Heroku and there is logs

image

2020-11-08 12:41:37,188 - main - INFO - Starting Bot !
Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

2020-11-08 12:41:43,690 - root - INFO - Started 12 HandlerTasks

heroku no longer works?

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

Missing instructions - what to do after deploying?

I deployed both local and on heroku and sent message to the bot in telegram but bot not responding.
Heroku logs -
2020-09-29T08:48:00.561546+00:00 app[api]: Scaled to worker@1:Free by user #########@gmail.com
2020-09-29T08:48:08.489393+00:00 heroku[worker.1]: Starting process with command python -m bot
2020-09-29T08:48:09.150047+00:00 heroku[worker.1]: State changed from starting to up
2020-09-29T08:48:12.529654+00:00 app[worker.1]: 2020-09-29 08:48:12,529 - main - INFO - Starting Bot !
2020-09-29T08:48:14.055933+00:00 app[worker.1]: Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance
2020-09-29T08:48:14.055967+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2020-09-29T08:48:14.055967+00:00 app[worker.1]:
2020-09-29T08:48:21.405171+00:00 app[worker.1]: 2020-09-29 08:48:21,404 - root - INFO - Started 12 HandlerTasks

local logs -
$ python -m bot
2020-09-29 14:27:58,005 - main - INFO - Starting Bot !
2020-09-29 14:28:04,577 - root - INFO - Started 8 HandlerTasks

is there any specific command that triggers this bot?

Error in Heroku Deployment

i am unable to run in heroku ,heroku logs
Application Logs

2021-04-01T18:03:47.314089+00:00 app[worker.1]: return fn(*args, **kwargs)

2021-04-01T18:03:47.314090+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/create.py", line 522, in create_engine

2021-04-01T18:03:47.314430+00:00 app[worker.1]: entrypoint = u._get_entrypoint()

2021-04-01T18:03:47.314431+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/url.py", line 653, in _get_entrypoint

2021-04-01T18:03:47.314900+00:00 app[worker.1]: cls = registry.load(name)

2021-04-01T18:03:47.314901+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 340, in load

2021-04-01T18:03:47.315268+00:00 app[worker.1]: "Can't load plugin: %s:%s" % (self.group, name)

2021-04-01T18:03:47.315320+00:00 app[worker.1]: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres

2021-04-01T18:03:47.578468+00:00 heroku[worker.1]: Process exited with status 1

2021-04-01T18:03:47.672609+00:00 heroku[worker.1]: State changed from up to crashed

2021-04-01T18:04:52.227121+00:00 heroku[worker.1]: State changed from crashed to starting

2021-04-01T18:04:57.810003+00:00 heroku[worker.1]: Starting process with command python -m bot

2021-04-01T18:04:58.565587+00:00 heroku[worker.1]: State changed from starting to up

2021-04-01T18:05:01.138453+00:00 app[worker.1]: 2021-04-01 18:05:01,138 - main - INFO - Starting Bot !

2021-04-01T18:05:03.476902+00:00 app[worker.1]: Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance

2021-04-01T18:05:03.476978+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

2021-04-01T18:05:03.476979+00:00 app[worker.1]:

2021-04-01T18:05:08.575962+00:00 app[worker.1]: Traceback (most recent call last):

2021-04-01T18:05:08.576063+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/runpy.py", line 193, in _run_module_as_main

2021-04-01T18:05:08.576476+00:00 app[worker.1]: "main", mod_spec)

2021-04-01T18:05:08.576558+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/runpy.py", line 85, in _run_code

2021-04-01T18:05:08.576828+00:00 app[worker.1]: exec(code, run_globals)

2021-04-01T18:05:08.576834+00:00 app[worker.1]: File "/app/bot/main.py", line 35, in

2021-04-01T18:05:08.577036+00:00 app[worker.1]: app.run()

2021-04-01T18:05:08.577041+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/utilities/run.py", line 61, in run

2021-04-01T18:05:08.577277+00:00 app[worker.1]: self.start()

2021-04-01T18:05:08.577282+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/sync.py", line 51, in async_to_sync_wrap

2021-04-01T18:05:08.577506+00:00 app[worker.1]: return loop.run_until_complete(coroutine)

2021-04-01T18:05:08.577511+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete

2021-04-01T18:05:08.577949+00:00 app[worker.1]: return future.result()

2021-04-01T18:05:08.577954+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/utilities/start.py", line 68, in start

2021-04-01T18:05:08.578182+00:00 app[worker.1]: await self.initialize()

2021-04-01T18:05:08.578187+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/methods/auth/initialize.py", line 44, in initialize

2021-04-01T18:05:08.578407+00:00 app[worker.1]: self.load_plugins()

2021-04-01T18:05:08.578447+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pyrogram/client.py", line 717, in load_plugins

2021-04-01T18:05:08.579101+00:00 app[worker.1]: module = import_module(module_path)

2021-04-01T18:05:08.579142+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module

2021-04-01T18:05:08.579395+00:00 app[worker.1]: return _bootstrap._gcd_import(name[level:], package, level)

2021-04-01T18:05:08.579433+00:00 app[worker.1]: File "", line 994, in _gcd_import

2021-04-01T18:05:08.579707+00:00 app[worker.1]: File "", line 971, in _find_and_load

2021-04-01T18:05:08.579911+00:00 app[worker.1]: File "", line 955, in _find_and_load_unlocked

2021-04-01T18:05:08.580114+00:00 app[worker.1]: File "", line 665, in _load_unlocked

2021-04-01T18:05:08.580323+00:00 app[worker.1]: File "", line 678, in exec_module

2021-04-01T18:05:08.580551+00:00 app[worker.1]: File "", line 219, in _call_with_frames_removed

2021-04-01T18:05:08.580764+00:00 app[worker.1]: File "/app/bot/plugins/authorize.py", line 11, in

2021-04-01T18:05:08.580952+00:00 app[worker.1]: from bot.helpers.sql_helper import gDriveDB

2021-04-01T18:05:08.580958+00:00 app[worker.1]: File "/app/bot/helpers/sql_helper/init.py", line 19, in

2021-04-01T18:05:08.581174+00:00 app[worker.1]: SESSION = start()

2021-04-01T18:05:08.581213+00:00 app[worker.1]: File "/app/bot/helpers/sql_helper/init.py", line 9, in start

2021-04-01T18:05:08.581393+00:00 app[worker.1]: engine = create_engine(DATABASE_URL)

2021-04-01T18:05:08.581429+00:00 app[worker.1]: File "", line 2, in create_engine

2021-04-01T18:05:08.581658+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/deprecations.py", line 298, in warned

2021-04-01T18:05:08.582029+00:00 app[worker.1]: return fn(*args, **kwargs)

2021-04-01T18:05:08.582068+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/create.py", line 522, in create_engine

2021-04-01T18:05:08.582569+00:00 app[worker.1]: entrypoint = u._get_entrypoint()

2021-04-01T18:05:08.582607+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/url.py", line 653, in _get_entrypoint

2021-04-01T18:05:08.583196+00:00 app[worker.1]: cls = registry.load(name)

2021-04-01T18:05:08.583235+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 340, in load

2021-04-01T18:05:08.583646+00:00 app[worker.1]: "Can't load plugin: %s:%s" % (self.group, name)

2021-04-01T18:05:08.583726+00:00 app[worker.1]: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres

2021-04-01T18:05:08.808375+00:00 heroku[worker.1]: Process exited with status 1

2021-04-01T18:05:08.893736+00:00 heroku[worker.1]: State changed from up to crashed

Many bugs!!

Hello, your bot is good but many http and ytdl error... When i tried to download file from link 90% time showing error while other bot working and also with ytdl i think not full supported cuz not option to download video in specific quality its Downloading in high and many time showing error in yt video and other ytdl supported sites not working with it... No progress bar and cancel button ..

Google Drive Clone Issue

When I use the command /copy and put the link I get this error 'googleapiclient.http - WARNING - Encountered 403 Forbidden with reason "userRateLimitExceeded"'
No matter the file was large or small I get the same error once I send the message

SA suppor

When can you add SA support in GDrive file and folder cloning? the bot is perfect since it does not use aria2 and thus you do not get banned from heroku but I would like to be able to clone folders from GDrive without the annoying 750GB per day limit.

Issue when i tried to run the bot

Hi, please can you see why the bot not running for me?

`root@vultr:~/google-drive-telegram-bot# python3 -m bot
2020-10-05 23:54:38,590 - main - INFO - Starting Bot !
Pyrogram v1.0.1, Copyright (C) 2017-2020 Dan https://github.com/delivrance
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/google-drive-telegram-bot/bot/main.py", line 35, in
app.run()
File "/usr/local/lib/python3.7/dist-packages/pyrogram/methods/utilities/run.py", line 61, in run
self.start()
File "/usr/local/lib/python3.7/dist-packages/pyrogram/sync.py", line 51, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/usr/local/lib/python3.7/dist-packages/pyrogram/methods/utilities/start.py", line 68, in start
await self.initialize()
File "/usr/local/lib/python3.7/dist-packages/pyrogram/methods/auth/initialize.py", line 44, in initialize
self.load_plugins()
File "/usr/local/lib/python3.7/dist-packages/pyrogram/client.py", line 717, in load_plugins
module = import_module(module_path)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/google-drive-telegram-bot/bot/plugins/authorize.py", line 11, in
from bot.helpers.sql_helper import gDriveDB
File "/root/google-drive-telegram-bot/bot/helpers/sql_helper/init.py", line 19, in
SESSION = start()
File "/root/google-drive-telegram-bot/bot/helpers/sql_helper/init.py", line 9, in start
engine = create_engine(DATABASE_URL)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/init.py", line 500, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/strategies.py", line 54, in create
u = url.make_url(name_or_url)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/url.py", line 229, in make_url
return _parse_rfc1738_args(name_or_url)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/url.py", line 291, in _parse_rfc1738_args
"Could not parse rfc1738 URL from string '%s'" % name
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string 'localhost:5432'
root@vultr:~/google-drive-telegram-bot#`

Audio Track.

Most of the files I use have Dual audio and Google Drive always takes in the wrong audio. Any Solution on this?

Progress

Please make progress bar so we will know when file gonna finish

Commands Not Working For Non Authorized Users

The Bot Works Fine But When New Users Start Up The Bot, No Commands seem to work Other Than /auth.. After authenticating, the commands works afterwards which shouldn't be. Would love if you could fix commands to work for new users so they don't think the bot isn't functioning

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.