{"id":18418045,"url":"https://github.com/kalanakt/IMDb-Auto-Filter-Bot","last_synced_at":"2025-04-07T13:31:03.960Z","repository":{"id":43027470,"uuid":"418153643","full_name":"kalanakt/IMDb-Auto-Filter-Bot","owner":"kalanakt","description":"Auto-filter Bot With IMDb Poster.","archived":false,"fork":false,"pushed_at":"2022-09-25T04:15:16.000Z","size":71,"stargazers_count":19,"open_issues_count":0,"forks_count":27,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T12:48:37.961Z","etag":null,"topics":["autofilter","imdb","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kalanakt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-17T14:14:53.000Z","updated_at":"2023-08-03T16:55:59.000Z","dependencies_parsed_at":"2023-01-18T14:16:41.275Z","dependency_job_id":null,"html_url":"https://github.com/kalanakt/IMDb-Auto-Filter-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalanakt%2FIMDb-Auto-Filter-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalanakt%2FIMDb-Auto-Filter-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalanakt%2FIMDb-Auto-Filter-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalanakt%2FIMDb-Auto-Filter-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalanakt","download_url":"https://codeload.github.com/kalanakt/IMDb-Auto-Filter-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661584,"owners_count":20975078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autofilter","imdb","telegram-bot"],"created_at":"2024-11-06T04:12:30.669Z","updated_at":"2025-04-07T13:31:03.941Z","avatar_url":"https://github.com/kalanakt.png","language":"Python","funding_links":[],"categories":["OpenSource"],"sub_categories":["OpenSource Bots"],"readme":"\n![740full-bae-suzy](https://user-images.githubusercontent.com/86665964/138349156-e7066b7f-9a88-4a40-a6e4-7425c406cba3.jpg)\n\n## Example Bot [Imdb Bot](https://t.me/Ma_autofilterbot)\n\n## Added Features\n* Imdb posters for autofilter.\n* Custom captions for your files.\n* Index command to index all the files in a given channel (No USER_SESSION Required).\n* Ability to Index Public Channels without being admin.\n* Support Auto-Filter (Both in PM and in Groups)\n* Once files saved in Database , exists until you manually deletes. (No Worry if post gets deleted from source channel.)\n* Added Force subscribe (Only channel subscribes can use the bot)\n* Ability to restrict groups(AUTH_GROUPS)\n\n\n## If Any Doubts Ask In [Bot Help](https://t.me/Bot2SupportBot)\n\n## Installation\n\n### Easy Way\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/kalanakt/imdb-autofilter-bot)\n\n### Hard Way\n\n```bash\n# Create virtual environment\npython3 -m venv env\n\n# Activate virtual environment\nenv\\Scripts\\activate.bat # For Windows\nsource env/bin/activate # For Linux or MacOS\n\n# Install Packages\npip3 install -r requirements.txt\n\n# Edit info.py with variables as given below then run bot\npython3 bot.py\n```\nCheck [`sample_info.py`](sample_info.py) before editing [`info.py`](info.py) file\n\n\n## Thank You For [Subinps](https://t.me/Subinps_bot)\n\n## Variables\n\n### Required Variables\n* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.\n* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)\n* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)\n* `CHANNELS`: Username or ID of channel or group. Separate multiple IDs by space\n* `ADMINS`: Username or ID of Admin. Separate multiple Admins by space\n* `DATABASE_URI`: [mongoDB](https://www.mongodb.com) URI. Get this value from [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/dsuTn4qV2GA)\n* `DATABASE_NAME`: Name of the database in [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/dsuTn4qV2GA)\n\n### Optional Variables\n* `OMDB_API_KEY`: OMBD_API_KEY to generate imdb poster for filter results.Get it from [omdbapi.com](http://www.omdbapi.com/apikey.aspx)\n* `CUSTOM_FILE_CAPTION` : A custom caption for your files. You can format it with file_name, file_size, file_caption.(supports html formating)\nExample: `\u003cb\u003eJoin [XTZ Bots](https://t.me/subin_works) for more useful bots\u003c/b\u003e\\n\\n\u003ccode\u003e{file_name}\u003c/code\u003e\\nSize{file_size}\\n{file_caption}.`\n* `AUTH_GROUPS` : ID of groups which bot should work as autofilter, bot can only work in thease groups. If not given , bot can be used in any group.\n* `COLLECTION_NAME`: Name of the collections. Defaults to Telegram_files. If you going to use same database, then use different collection name for each bot\n* `CACHE_TIME`: The maximum amount of time in seconds that the result of the inline query may be cached on the server\n* `USE_CAPTION_FILTER`: Whether bot should use captions to improve search results. (True/False)\n* `AUTH_USERS`: Username or ID of users to give access of inline search. Separate multiple users by space. Leave it empty if you don't want to restrict bot usage.\n* `AUTH_CHANNEL`: ID of channel. Without subscribing this channel users cannot use bot.\n* `START_MSG`: Welcome message for start command.\n\n## Note\n* Currently [API used](http://www.omdbapi.com) here is allowing 1000 requests per day. [You may not get posters if its crossed](https://t.me/ThankTelegram/910168). \nOnce a poster is fetched from OMDB , poster is saved to DB to reduce duplicate requests.\n\n## Admin commands\n```\nchannel - Get basic infomation about channels\ntotal - Show total of saved files\ndelete - Delete file from database\nindex - Index all files from channel.\nlogger - Get log file\n```\n\n## Tips\n* You can use `|` to separate query and file type while searching for specific type of file. For example: `Avengers | video`\n* If you don't want to create a channel or group, use your chat ID / username as the channel ID. When you send a file to a bot, it will be saved in the database.\n\n\n\n## Thanks to \n* [Pyrogram](https://github.com/pyrogram/pyrogram)\n* Original [Repo](https://github.com/Mahesh0253/Media-Search-bot)\n\n\n## Special Note\n* this is modifaird verson of main responsibility .All credits should goes to main developers\n\n## License\nCode released under [The GNU General Public License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalanakt%2FIMDb-Auto-Filter-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalanakt%2FIMDb-Auto-Filter-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalanakt%2FIMDb-Auto-Filter-Bot/lists"}