usergeteam / userge-plugins Goto Github PK
View Code? Open in Web Editor NEWPlugins for Userge
Home Page: https://userge.tech
License: GNU General Public License v3.0
Plugins for Userge
Home Page: https://userge.tech
License: GNU General Public License v3.0
This feature was available in the Deezloader plugin previously, don't know what happened after the deployment via helper script to the newer version! If you can reinclude this feature in either Spotdl/Deezloader plugin, it would be much helpful. Now it's not possible to download FLAC Format files from Spot*fy
Thank you for this awesome project
In Vps .help Not Working
Drop unmaintained plugin is nice idea, It will be easier if unofficial plugins, must meet some special requirements, some plugins are not working properly for example deezloader.
Always returning --> result not found. I even tried the cmd in help msg i.e .wall luffy. Still its not working please fix it
QUOTE REPLY TO DEV'S COMMENT #118
Yeah Sure, I agree with you,
Prove that my ascii.py is kanged from your's,
I mention Source Credits,
And, Now let share my opinion.
This guy named(error) only making error in Clean Userge-Plugins,
Users opening Issues for
["Bug fix", "Plugin Request", "Modifications", "Sharing Idea's" and more]
but he open Issue for Credits, (for that plugin which is completely diff from him and his plugin., Can check errors and Lines also)
I think, In history of Github Issues, This is first issue which is opened by a Kid who is crying in public for Fake credits. LOL
Comments are Opened in this Issue, Please Comment and Share Your opinion on what to do with @deleteduser420 (having 420 in last which means Thief or चोर [Kanger])🤔😒😒
Plugin to convert animated stickers to gif.
So you maybe aware that ph_comment.py got deleted with message "don't ask reason 🤣" so in light of that let see some other plugins that don't appear to have proper credits.
ASCII.py don't have proper credits original module along with Source.
And the latest addition to that will be the non credited Idea of adding more celebrity names # Hint its all copied word to word from here
proper credits - idea by @ravana and modified by code-rgb
so I like to bring in notice the above modules that don't appear to be fairly credited.
I can’t find any relevant plugin which can send video file on telegram from the direct download link I provide..
How about adding a gdrive Uploader which uses direct link and it uploads the file to gdrive?
In a group I'm an anonymous admin in, the Lydia plugin keeps spitting out the following:
Traceback (most recent call last):
File "/home/userbot/Userge/userge/core/methods/decorators/raw_decorator.py", line 314, in template
await func(types.bound.Message.parse(
File "/home/userbot/Userge/userge/plugins/unofficial/lydia.py", line 159, in lydia_ai_chat
data = ACTIVE_CHATS.get(message.from_user.id)
AttributeError: 'NoneType' object has no attribute 'id'
After setting up the creds and providing the variable in heroku. Google photos upload doesn't work. Here is the log
logger : #TRACEBACK
PLUGIN : userge.plugins.misc.google_photos.main
FUNCTION : upload_google_photos
ERROR : invalid_client: The OAuth client was not found.
Traceback (most recent call last):
File "/app/userge/core/methods/decorators/raw_decorator.py", line 341, in template
await func(types.bound.Message.parse(
File "/app/userge/plugins/misc/google_photos/main.py", line 124, in upload_google_photos
creds = await check_creds(message)
File "/app/userge/plugins/misc/google_photos/main.py", line 112, in check_creds
creds.refresh(Http())
File "/usr/local/lib/python3.9/site-packages/oauth2client/client.py", line 545, in refresh
self._refresh(http)
File "/usr/local/lib/python3.9/site-packages/oauth2client/client.py", line 761, in _refresh
self._do_refresh_request(http)
File "/usr/local/lib/python3.9/site-packages/oauth2client/client.py", line 819, in _do_refresh_request
raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
oauth2client.client.HttpAccessTokenRefreshError: invalid_client: The OAuth client was not found.
in original deezloader, we can download all songs from an artist.
in this plugin, we can not. please add this feature.
Traceback (most recent call last):
2020-07-14T10:42:59.144224+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 194, in >_run_module_as_main
2020-07-14T10:42:59.145330+00:00 app[worker.1]: return _run_code(code, main_globals, None,
2020-07-14T10:42:59.145368+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 87, in _run_code
2020-07-14T10:42:59.145628+00:00 app[worker.1]: exec(code, run_globals)
2020-07-14T10:42:59.145663+00:00 app[worker.1]: File "/app/userge/main.py", line 14, in
2020-07-14T10:42:59.145896+00:00 app[worker.1]: userge.begin()
2020-07-14T10:42:59.145927+00:00 app[worker.1]: File "/app/userge/core/client.py", line 175, in begin
2020-07-14T10:42:59.146182+00:00 app[worker.1]: run(self.start())
2020-07-14T10:42:59.146207+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/nest_asyncio.py", line 59, in run_until_complete
2020-07-14T10:42:59.151016+00:00 app[worker.1]: return f.result()
2020-07-14T10:42:59.151058+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/asyncio/futures.py", line 178, in result
2020-07-14T10:42:59.152401+00:00 app[worker.1]: raise self._exception
2020-07-14T10:42:59.152437+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/asyncio/tasks.py", line 280, in __step
2020-07-14T10:42:59.153014+00:00 app[worker.1]: result = coro.send(None)
2020-07-14T10:42:59.153017+00:00 app[worker.1]: File "/app/userge/core/client.py", line 161, in start
2020-07-14T10:42:59.153286+00:00 app[worker.1]: await self._load_plugins()
2020-07-14T10:42:59.153332+00:00 app[worker.1]: File "/app/userge/core/client.py", line 84, in _load_plugins
2020-07-14T10:42:59.153473+00:00 app[worker.1]: await self.load_plugin(name)
2020-07-14T10:42:59.153477+00:00 app[worker.1]: File "/app/userge/core/client.py", line 66, in load_plugin
2020-07-14T10:42:59.153688+00:00 app[worker.1]: importlib.import_module(f"userge.plugins.{name}"))
2020-07-14T10:42:59.153714+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/importlib/init.py", line 127, in import_module
2020-07-14T10:42:59.153863+00:00 app[worker.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-07-14T10:42:59.153867+00:00 app[worker.1]: File "", line 1014, in _gcd_import
2020-07-14T10:42:59.154131+00:00 app[worker.1]: File "", line 991, in _find_and_load
2020-07-14T10:42:59.154294+00:00 app[worker.1]: File "", line 975, in _find_and_load_unlocked
2020-07-14T10:42:59.160252+00:00 app[worker.1]: File "", line 671, in _load_unlocked
2020-07-14T10:42:59.160623+00:00 app[worker.1]: File "", line 783, in exec_module
2020-07-14T10:42:59.160910+00:00 app[worker.1]: File "", line 219, in _call_with_frames_removed
2020-07-14T10:42:59.161229+00:00 app[worker.1]: File "/app/userge/plugins/unofficial/lydia.py", line 153, in
2020-07-14T10:42:59.161680+00:00 app[worker.1]: @userge.on_filters(
2020-07-14T10:42:59.161801+00:00 app[worker.1]: TypeError: on_filters() got an unexpected keyword argument 'check_client'
crash when attempting to load Lydia plugin
This command always returning ERROR: Download Failed I even tried this line present in help message
.spotdl https://open.spotify.com/track/0Cy7wt6IlRfBPHXXjmZbcP
and it returned the same ERROR: Download Failed.
The file is splitted when download and it was take much time to combine back the file each time i use the direct link.It will be easy if it combine the file auto when download the file.
Is it possible to add support for setting custom thumbnail in IMDb plugin
like
Title 🎬: #TITLE
Quality 💿: 720p Blu-ray
Genre: #GENRE
Rating ⭐️: #RATING
Release Info: #RELEASE_INFO
Audio 🔊: #Hindi #LANGUAGE
Cast info 🤹♂ #CAST_INFO
Story Line: #STORY_LINE
Hello guys.
is there any way or plugin that i can change my status to online even when i'm not ?
Thanks.
we should make a config file for all ENV vars in all plugins here.
it may be useful for users to add them as their need.
Here e.g. -> https://github.com/UsergeTeam/Userge/blob/alpha/config.env.sample
My pull request :- #222
when give the command: ".deezload * FLAC
" deezload locks other commands.
try deezload a song and give .ls
or .alive
command. you will understand what i'm talking about.
Any possibility to get a plug-in for this tool?:
https://github.com/ngomile/anigrab
Thank you!
I'm facing an issue when trying to copy folders (folders are stored in Team Drives I have access to) using .gcopy, copying files (stored in Team Drives as well) working just fine but can't copy folders (was working fine before v1)
Here's the logs
Traceback (most recent call last):
File "/app/userge/plugins/misc/gdrive/__main__.py", line 480, in _copy
dir_id = self._create_drive_dir(drive_file['name'], self._parent_id)
File "/app/userge/plugins/misc/gdrive/__main__.py", line 287, in _create_drive_dir
self._set_permission(file_id)
File "/app/userge/plugins/misc/gdrive/__main__.py", line 178, in _set_permission
self._service.permissions().create(fileId=file_id, body=permissions,
File "/app/.heroku/python/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
return wrapped(*args, **kwargs)
File "/app/.heroku/python/lib/python3.9/site-packages/googleapiclient/http.py", line 937, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/drive/v3/files/0bqh7jmqjMMZDNXm4OvMilVMKvvQi2kPw/permissions?supportsTeamDrives=true&alt=json returned "Bad Request. User message: """. Details: "[{'domain': 'global', 'reason': 'publishOutNotPermitted', 'message': 'Bad Request. User message: ""'}]">
[12-Jun-22 09:29:56 - ERROR] - userge.core.methods.decorators.raw_decorator - cannot use a string pattern on a bytes-like object
Traceback (most recent call last):
File "/app/userge/core/methods/decorators/raw_decorator.py", line 327, in template
await func(types.bound.Message.parse(
File "/app/userge/plugins/tools/speedtest/main.py", line 36, in speedtst
path = await pool.run_in_thread(wget.download)(result['share'])
File "/app/userge/core/ext/pool.py", line 37, in wrapper
return await loop.run_in_executor(_EXECUTOR, partial(func, *args, **kwargs))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/venv/lib/python3.9/site-packages/wget.py", line 526, in download
(tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
File "/usr/local/lib/python3.9/urllib/request.py", line 237, in urlretrieve
url_type, path = _splittype(url)
File "/usr/local/lib/python3.9/urllib/parse.py", line 1040, in _splittype
match = _typeprog.match(url)
TypeError: cannot use a string pattern on a bytes-like object
My idea is Userge able to "curl POST" to Infura.io (IPFS FREE
pinning service) API.
The idea is execute curl
command from file that already downloaded to Userge download directory.
curl -X POST -F file=@'userge/file/dir' "https://ipfs.infura.io:5001/api/v0/add?pin=true"
And then return the IPFS file hash in "Qm...somerandomchar" and the file name if possible
Current infura.io limit is 100MB, but still it is free pinning service.
Some docs to refer:
https://infura.io/docs/ipfs#operation/add
Would be thankful if this method can be applied.
Thank you
Purge issue still persist
Telegra.ph banned in india, could you add graph.org
when dynos restart google drive credentials get cleared so have to reauth. was working fine few days ago
I think, the issue is in these lines
Originally Reported By: https://t.me/usergeot/835485
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.