GithubHelp home page GithubHelp logo

evamaria's People

Contributors

adi-code22 avatar alberteinsteintg avatar athul1706 avatar cclauss avatar greatbotmaker avatar jack-of-tg avatar jinspalakkattu avatar jonatan1609 avatar kalanakt avatar mahesh0253 avatar mufaz-tg avatar physichybridtg avatar rinrinx avatar sahadz avatar shahsad-kp avatar shamilhabeebnelli avatar spechide avatar stillalivetg avatar subinps avatar thehellruler avatar thehimanshurastogi 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  avatar  avatar  avatar  avatar  avatar

evamaria's Issues

Bug

Its not showing an /index option

#Request

Please Add Random Welcome Messages when users joined in group.

Request

As there is file store feature in the repo..
I request you developers that please add one more feature that admins of the bot can delete those files or batch files for which shareable link has been generated

Request

How to set someone send bot pm and bot will show the files. Because bot working only group.

#Request #Duplicate_Files

✨ Hello @subinps, I have a #suggestion

It's regarding duplicate files, the bot doesn't index the same file twice (which is good).

The Problem i am facing is that if a movie file is renamed and sent again for indexing then the bot does index it

So, is there any way that if the size of the files are same and then the bot checks the files for any comman name and cancels the index of the new file.

Thanks for Your Hardwork ❤️🌟✨ @subinps

Tg Index Group

indexing the tg channel is easy, how can we index the tg groups thanks

#add feature

Add bot-pm , so that the owner can see what people are sending to the bot, if anyone spamming so the owner can ban him, please add the feature

/link Can't Create

plugins/genlink.py", line 33, in gen_link_s
2022-08-10T16:28:19.447525+00:00 app[worker.1]: file_id, ref = unpack_new_file_id((getattr(replied, file_type)).file_id)
2022-08-10T16:28:19.447526+00:00 app[worker.1]: TypeError: getattr(): attribute name must be string

Update

How can I upgraded python version here in my forked repo??

Forsub not working

Forcesub is not working in /link, /plink, /batch and /pbatch please fix it ass soon as possible.

Change need in "Deploy to VPS" section

While I was deploying the bot in vps, I was facing problems like "import error: cannot import InlineQueryResultCacheddocument" and
" 'bot' object has no attribute '.iter_messages' " (during the time of index)

Later I found that, "pip3 install -r requirements.txt" was casuing the problem. And when i used "pip3 install -U -r requirements.txt" , all of it solved. So I request u to change the code in "Deploy to Vps" section. That would be helpful, thank you. The bot is great btw.

Got some errors while using /link.

Hey @subinps, Thanks for updating Bot to latest pyrogram version and thanks to @adi-code22 to give your efforts, but a new error is occurring while generating links of files. We hope you fix it as soon as possible because many people have already updated themselves bot's to latest version.

İmdb Optional Option add

we use this annotation for inline search in files like pdf-epub-mobi. Imdb is annoying, can you add optional option for imdb?

issue when indexing files in pyrogram v2

log , hope this helps in debugging.

2022-08-10T17:48:20.862813+00:00 app[worker.1]: 05:48:20 PM - 253 - pyrogram.dispatcher - dispatcher - ERROR - Telegram says: [420 FLOOD_WAIT_X] - A wait of 40 seconds is required (caused by "messages.EditMessage")
2022-08-10T17:48:20.862824+00:00 app[worker.1]: Traceback (most recent call last):
2022-08-10T17:48:20.862825+00:00 app[worker.1]: File "/app/plugins/index.py", line 156, in index_files_to_db
2022-08-10T17:48:20.862825+00:00 app[worker.1]: await msg.edit_text(
2022-08-10T17:48:20.862826+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/types/messages_and_media/message.py", line 2777, in edit_text
2022-08-10T17:48:20.862827+00:00 app[worker.1]: return await self._client.edit_message_text(
2022-08-10T17:48:20.862827+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/messages/edit_message_text.py", line 80, in edit_message_text
2022-08-10T17:48:20.862828+00:00 app[worker.1]: r = await self.invoke(
2022-08-10T17:48:20.862828+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
2022-08-10T17:48:20.862828+00:00 app[worker.1]: r = await self.session.invoke(
2022-08-10T17:48:20.862829+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 361, in invoke
2022-08-10T17:48:20.862829+00:00 app[worker.1]: return await self.send(query, timeout=timeout)
2022-08-10T17:48:20.862830+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 331, in send
2022-08-10T17:48:20.862830+00:00 app[worker.1]: RPCError.raise_it(result, type(data))
2022-08-10T17:48:20.862830+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
2022-08-10T17:48:20.862831+00:00 app[worker.1]: raise getattr(
2022-08-10T17:48:20.862831+00:00 app[worker.1]: pyrogram.errors.exceptions.flood_420.FloodWait: Telegram says: [420 FLOOD_WAIT_X] - A wait of 40 seconds is required (caused by "messages.EditMessage")
2022-08-10T17:48:20.862831+00:00 app[worker.1]:
2022-08-10T17:48:20.862832+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2022-08-10T17:48:20.862832+00:00 app[worker.1]:
2022-08-10T17:48:20.862833+00:00 app[worker.1]: Traceback (most recent call last):
2022-08-10T17:48:20.862833+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
2022-08-10T17:48:20.862833+00:00 app[worker.1]: await handler.callback(self.client, *args)
2022-08-10T17:48:20.862834+00:00 app[worker.1]: File "/app/plugins/index.py", line 49, in index_files
2022-08-10T17:48:20.862834+00:00 app[worker.1]: await index_files_to_db(int(lst_msg_id), chat, msg, bot)
2022-08-10T17:48:20.862834+00:00 app[worker.1]: File "/app/plugins/index.py", line 183, in index_files_to_db
2022-08-10T17:48:20.862834+00:00 app[worker.1]: await msg.edit(f'Error: {e}')
2022-08-10T17:48:20.862835+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/types/messages_and_media/message.py", line 2777, in edit_text
2022-08-10T17:48:20.862835+00:00 app[worker.1]: return await self._client.edit_message_text(
2022-08-10T17:48:20.862835+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/messages/edit_message_text.py", line 80, in edit_message_text
2022-08-10T17:48:20.862835+00:00 app[worker.1]: r = await self.invoke(
2022-08-10T17:48:20.862836+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
2022-08-10T17:48:20.862836+00:00 app[worker.1]: r = await self.session.invoke(
2022-08-10T17:48:20.862836+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 361, in invoke
2022-08-10T17:48:20.862836+00:00 app[worker.1]: return await self.send(query, timeout=timeout)
2022-08-10T17:48:20.862837+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 331, in send
2022-08-10T17:48:20.862837+00:00 app[worker.1]: RPCError.raise_it(result, type(data))
2022-08-10T17:48:20.862837+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
2022-08-10T17:48:20.862838+00:00 app[worker.1]: raise getattr(
2022-08-10T17:48:20.862838+00:00 app[worker.1]: pyrogram.errors.exceptions.flood_420.FloodWait: Telegram says: [420 FLOOD_WAIT_X] - A wait of 40 seconds is required (caused by "messages.EditMessage")
2022-08-10T17:48:20.407198+00:00 app[worker.1]: 05:48:20 PM - 182 - plugins.index - index - ERROR - Telegram says: [420 FLOOD_WAIT_X] - A wait of 40 seconds is required (caused by "messages.EditMessage")
2022-08-10T17:48:20.407209+00:00 app[worker.1]: Traceback (most recent call last):
2022-08-10T17:48:20.407209+00:00 app[worker.1]: File "/app/plugins/index.py", line 156, in index_files_to_db
2022-08-10T17:48:20.407210+00:00 app[worker.1]: await msg.edit_text(
2022-08-10T17:48:20.407211+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/types/messages_and_media/message.py", line 2777, in edit_text
2022-08-10T17:48:20.407211+00:00 app[worker.1]: return await self._client.edit_message_text(
2022-08-10T17:48:20.407211+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/messages/edit_message_text.py", line 80, in edit_message_text
2022-08-10T17:48:20.407212+00:00 app[worker.1]: r = await self.invoke(
2022-08-10T17:48:20.407226+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
2022-08-10T17:48:20.407226+00:00 app[worker.1]: r = await self.session.invoke(
2022-08-10T17:48:20.407227+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 361, in invoke
2022-08-10T17:48:20.407227+00:00 app[worker.1]: return await self.send(query, timeout=timeout)
2022-08-10T17:48:20.407227+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 331, in send
2022-08-10T17:48:20.407228+00:00 app[worker.1]: RPCError.raise_it(result, type(data))
2022-08-10T17:48:20.407228+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
2022-08-10T17:48:20.407228+00:00 app[worker.1]: raise getattr(
2022-08-10T17:48:20.407229+00:00 app[worker.1]: pyrogram.errors.exceptions.flood_420.FloodWait: Telegram says: [420 FLOOD_WAIT_X] - A wait of 40 seconds is required (caused by "messages.EditMessage")
2022-08-10T17:54:15.263941+00:00 app[worker.1]: 05:54:15 PM - 253 - pyrogram.dispatcher - dispatcher - ERROR - Telegram says: [400 MESSAGE_NOT_MODIFIED] - The message was not modified because you tried to edit it using the same content (caused by "messages.EditMessage")
2022-08-10T17:54:15.263952+00:00 app[worker.1]: Traceback (most recent call last):
2022-08-10T17:54:15.263953+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
2022-08-10T17:54:15.263953+00:00 app[worker.1]: await handler.callback(self.client, *args)
2022-08-10T17:54:15.263954+00:00 app[worker.1]: File "/app/plugins/pm_filter.py", line 557, in cb_handler
2022-08-10T17:54:15.263954+00:00 app[worker.1]: await query.message.edit_text(
2022-08-10T17:54:15.263955+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/types/messages_and_media/message.py", line 2777, in edit_text
2022-08-10T17:54:15.263955+00:00 app[worker.1]: return await self._client.edit_message_text(
2022-08-10T17:54:15.263956+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/messages/edit_message_text.py", line 80, in edit_message_text
2022-08-10T17:54:15.263957+00:00 app[worker.1]: r = await self.invoke(
2022-08-10T17:54:15.263957+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
2022-08-10T17:54:15.263957+00:00 app[worker.1]: r = await self.session.invoke(
2022-08-10T17:54:15.263958+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 361, in invoke
2022-08-10T17:54:15.263958+00:00 app[worker.1]: return await self.send(query, timeout=timeout)
2022-08-10T17:54:15.263959+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 331, in send
2022-08-10T17:54:15.263959+00:00 app[worker.1]: RPCError.raise_it(result, type(data))
2022-08-10T17:54:15.263959+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
2022-08-10T17:54:15.263960+00:00 app[worker.1]: raise getattr(
2022-08-10T17:54:15.263960+00:00 app[worker.1]: pyrogram.errors.exceptions.bad_request_400.MessageNotModified: Telegram says: [400 MESSAGE_NOT_MODIFIED] - The message was not modified because you tried to edit it using the same content (caused by "messages.EditMessage")

@adi-code22

error while indexing

Error: 'utf-16-le' codec can't decode bytes in position 422-423: illegal UTF-16 surrogate
this come while indexing files and bot dosent adds new files in db automatically plz fix

Video names are not saving

Video name is saving as - NONE

this is log -

2022-01-14T09:02:34.773448+00:00 app[worker.1]: 09:02:34 AM - 57 - database.ia_filterdb - ia_filterdb - WARNING - None is already saved in database
2022-01-14T09:02:34.959345+00:00 app[worker.1]: 09:02:34 AM - 57 - database.ia_filterdb - ia_filterdb - WARNING - None is already saved in database
2022-01-14T09:04:37.254719+00:00 app[worker.1]: 09:04:37 AM - 57 - database.ia_filterdb - ia_filterdb - WARNING - None is already saved in database
2022-01-14T09:04:37.443497+00:00 app[worker.1]: 09:04:37 AM - 57 - database.ia_filterdb - ia_filterdb - WARNING - None is already saved in database

Can't Deploy this repo on Railway.app

I tried to deploy this repo on railway.app, but its failed and showing "### Banned dependency found AUTO-FILTER-BOT Please remove this dependency from this repo to deploy it on railway".

### Please help me to fix this issue...

IMDB Problem

workerTraceback (most recent call last):
worker File "bot.py", line 15, in
worker from utils import temp
worker File "/EvaMaria/utils.py", line 4, in
worker from imdb import IMDb
workerModuleNotFoundError: No module named 'imdb'

Not starting on VPS

When I try
"python3 bot.py"
This error showing

Traceback (most recent call last):
File "bot.py", line 12, in
from database.ia_filterdb import Media
File "/root/evamaria/database/ia_filterdb.py", line 10, in
from info import DATABASE_URI, DATABASE_NAME, COLLECTION_NAME, USE_CAPTION_FILTER
File "/root/evamaria/info.py", line 15, in
API_ID = int(environ['API_ID', "17526358"])
File "/usr/lib/python3.7/os.py", line 675, in getitem
value = self._data[self.encodekey(key)]
File "/usr/lib/python3.7/os.py", line 753, in encode
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not tuple

info for info.py.txt

check the info.py file

/link delete?

If a person make a link with /link and /plink command and owner wants to delete that file so how can owner delete that file because if owner reply that file /delete then bot says that file not found in database even after using public file store channel bot doesn’t forward files generated from user to that channel.

Pm problem, please help.

I was using subnips before, but now I switched to evamaria for my movie bot.

Right now the inline search is working, but the auto filter or pm filter is not responding.
Like when I try to sending in the movie name, the bot isn't responding. But whenever I use inline mode, it will respond. Please walk me through this problem. Thank you.

Error Index

2021-11-01T06:17:11.423223+00:00 app[worker.1]: 06:17:11 AM - 230 - pyrogram.dispatcher - dispatcher - ERROR - invalid literal for int() with base 10: 'ModdedCentral'

2021-11-01T06:17:11.423234+00:00 app[worker.1]: Traceback (most recent call last):

2021-11-01T06:17:11.423235+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker

2021-11-01T06:17:11.423235+00:00 app[worker.1]: await handler.callback(self.client, *args)

2021-11-01T06:17:11.423236+00:00 app[worker.1]: File "/app/plugins/index.py", line 40, in index_files

2021-11-01T06:17:11.423236+00:00 app[worker.1]: await index_files_to_db(int(lst_msg_id), int(chat), msg, bot)

2021-11-01T06:17:11.423236+00:00 app[worker.1]: ValueError: invalid literal for int() with base 10: 'apkchannel'

4GB INDEX

Please add support for 4GB FILES

THANKS 🙏🏻 ❤️

Inline Mode 😶

#bug

Even though auth_users var is used on Heroku

The bot allows everyone to use inline mode.

Thanks

2 Issues I have

One, The person who has newly joined telegram can't start the bot...
There is no reply from the bot..

Other, If searching files inline is only for auth users...
What will I do so all can use it inline.

Please help..

#Request Next Button For Features Section

Bro Please Add A Next Button On The Filters Section and divide the Featues In To Two Pages... It Will looks more Fantastic than now..

If You Can Please add it Bro...
Thank You...

Inline buttons not working

Hello @subinps inline buttons are not working in my repo on /start, i forked your repo many times ago, everything was working fine but when i added a /help command in index.py in my bot then inline buttons got stopped.

bug

When I use IMDb template and use

{message.chat.title}

{message.from_user.mention}

and user search IMDb in private

it's showing error

i think you should use custom IMDb template for private and group

bug

when we click on next button it's show all movies with all pages not searched movie

spell check error

this error is coming

requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DAbella%2Bmovie&q=EhAmBKiABAAA0AAAAAAXHiABGMTc3ZUGIhCrpvbBzjk6xjbPO0MSY8qRMgFy
08:22:02 PM - 235 - pyrogram.dispatcher - dispatcher - ERROR - 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DAbella%2Bmovie&q=EhAmBKiABAAA0AAAAAAXHiABGOrc3ZUGIhCliNy-vodyAK46yPt4CgfBMgFy
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/HybridMovieBot/plugins/pm_filter.py", line 37, in give_filter
await auto_filter(client, message)
File "/root/HybridMovieBot/plugins/pm_filter.py", line 630, in auto_filter
return await advantage_spell_chok(msg)
File "/root/HybridMovieBot/plugins/pm_filter.py", line 734, in advantage_spell_chok
g_s = await search_gagala(query)
File "/root/HybridMovieBot/utils.py", line 165, in search_gagala
response.raise_for_status()
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 1022, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DAbella%2Bmovie&q=EhAmBKiABAAA0AAAAAAXHiABGOrc3ZUGIhCliNy-vodyAK46yPt4CgfBMgFy

banned??????

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.

Request

Can You add File Store Feature To This Bot. If it's done I think bot 100% complete. Anyway great work

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.