Giter Site home page Giter Site logo

userge-plugins's People

Contributors

alberteinsteintg avatar asmsafone avatar biansepang avatar cyberboysumanjay avatar devanagaraj avatar fayasnoushad avatar harsh-br0 avatar jajan-bocah avatar jaxellis avatar jigarvarma2005 avatar justthekai avatar krishna-singhal avatar lostb053 avatar nimma0001 avatar nobarxtx avatar pahul124 avatar phyco-ninja avatar pr13260 avatar pseudokawaii avatar r1337x avatar rking32 avatar rohithollabr avatar sainak avatar shivamvijaywargi avatar spechide avatar subinps avatar theuserge avatar tomyprs avatar yshalsager avatar zekxtreme 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

userge-plugins's Issues

FLAC/320/256/128Kbps Quality selection for Spotdl/Spot*fy links via Deezloader

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

Drop unmaintained plugin.

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.

Wallpaper Module Not Working

Always returning --> result not found. I even tried the cmd in help msg i.e .wall luffy. Still its not working please fix it

Comments for #118

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])🤔😒😒

Remove Plugin or Fix Credits

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.

  1. ASCII.py don't have proper credits original module along with Source.

  2. 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.

GDrive Uploader

How about adding a gdrive Uploader which uses direct link and it uploads the file to gdrive?

Lydia plugin causing issues with anonymous admins

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'

Issue google photos plugin

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.

deezloader - download artist

in original deezloader, we can download all songs from an artist.
in this plugin, we can not. please add this feature.

Lydia Crash

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

Spotdl Plugin not working : (

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.

Fix split file when downloads

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.

Add Thumbnail support for IMDB

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

deezloader - locking other commands

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.

Issue with .gcopy and copying folders

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: ""'}]">

[ERROR] Speedtest

[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

Plugin Request

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

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.