{"id":21396022,"url":"https://github.com/kanewi11/movieplanet","last_synced_at":"2025-07-13T19:30:31.819Z","repository":{"id":45290265,"uuid":"513478213","full_name":"kanewi11/MoviePlanet","owner":"kanewi11","description":"Telegram bot MoviePlanet to watch movies and shows, all taken from the open api of a third-party service I have nothing to do with.","archived":false,"fork":false,"pushed_at":"2023-05-11T20:41:49.000Z","size":585,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-05-11T21:35:07.419Z","etag":null,"topics":["aiogram","aiogram-bot","aiogram3","aiogrambot","asyncio","css3","flask","html5","javascript","python","requests","sqlalchemy","tasks","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/watch_films_and_serials_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanewi11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-13T10:31:12.000Z","updated_at":"2023-04-13T19:21:20.000Z","dependencies_parsed_at":"2023-02-09T22:30:49.982Z","dependency_job_id":null,"html_url":"https://github.com/kanewi11/MoviePlanet","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanewi11%2FMoviePlanet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanewi11%2FMoviePlanet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanewi11%2FMoviePlanet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanewi11%2FMoviePlanet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanewi11","download_url":"https://codeload.github.com/kanewi11/MoviePlanet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225910662,"owners_count":17543833,"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":["aiogram","aiogram-bot","aiogram3","aiogrambot","asyncio","css3","flask","html5","javascript","python","requests","sqlalchemy","tasks","telegram-bot"],"created_at":"2024-11-22T14:24:30.605Z","updated_at":"2024-11-22T14:24:31.170Z","avatar_url":"https://github.com/kanewi11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eTelegram bot \u003ca href=\"https://t.me/watch_films_and_serials_bot\"\u003eMoviePlanet\u003c/a\u003e\u003c/h1\u003e\n    \u003ca href=\"https://t.me/watch_films_and_serials_bot\"\u003e\n        \u003cimg width=\"80\" src=\"https://raw.githubusercontent.com/kanewi11/MoviePlanet/main/redirect_site/static/img/logo.png\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\nThe database is synchronous, if anyone needs to convert to asynchronous, it takes 5 minutes. I am lazy and forgot about it at all :)\n\n## The bot knows how:\n1. Search for movies and TV series.\n2. Make posts automatically, the input link to the movie or series.\n3. Send posts by time to the channel (for admins).\n4. Change the time of sending (for admins).\n5. Delete unsent posts (for admins).\n6. Send promotional posts to all bot users and to the channel (for admins).\n\n## Telegram bot for watching movies.\n\nIt works through the api of a third-party site. \n\nThere is also a small problem, it is related to the fact that the links to the shows do not open. They do not open due to the fact that when requested the server looks for the title \"Referer\" and if it is absent, the player will show a download error. \n\nSolved the problem banal, bought a domain and hosting, and simply redirected from this hosting, to that link.\n\n## If you want to run a bot\n\n1. If you want to run a bot, add your token to the environment with the ```API_TOKEN``` key.\n\n2. In the configuration file, change the link to your group and to the site.\n\n3. The home page of the site must take the parameter \"q\" example ```https://yoursite.com/?q=https://film.com/Avengers: Endgame``` in which the link to the movie or TV series will be passed, then the site must redirect the user to the link in the request using JS. This repository already has a redirection site written in Flask, you can check it out.\n\n4. After that you should run ```start.py``` in the ```/MoviePlanet``` directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanewi11%2Fmovieplanet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanewi11%2Fmovieplanet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanewi11%2Fmovieplanet/lists"}