{"id":24959929,"url":"https://github.com/claudiufrusina/generictelegrambotwithselenium","last_synced_at":"2026-03-07T21:02:20.597Z","repository":{"id":275439587,"uuid":"925726328","full_name":"claudiufrusina/GenericTelegramBotWithSelenium","owner":"claudiufrusina","description":"This repo is useful to create a chatbot using Telegram and Selenium with same automation","archived":false,"fork":false,"pushed_at":"2025-02-02T14:27:01.000Z","size":78,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T02:57:10.960Z","etag":null,"topics":["python","selenium","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claudiufrusina.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T15:46:25.000Z","updated_at":"2025-02-05T13:31:04.000Z","dependencies_parsed_at":"2025-02-02T15:37:38.238Z","dependency_job_id":null,"html_url":"https://github.com/claudiufrusina/GenericTelegramBotWithSelenium","commit_stats":null,"previous_names":["claudiufrusina/generictelegrambotwithselenium"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/claudiufrusina/GenericTelegramBotWithSelenium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiufrusina%2FGenericTelegramBotWithSelenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiufrusina%2FGenericTelegramBotWithSelenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiufrusina%2FGenericTelegramBotWithSelenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiufrusina%2FGenericTelegramBotWithSelenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claudiufrusina","download_url":"https://codeload.github.com/claudiufrusina/GenericTelegramBotWithSelenium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudiufrusina%2FGenericTelegramBotWithSelenium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30231490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["python","selenium","telegram-bot"],"created_at":"2025-02-03T08:01:46.858Z","updated_at":"2026-03-07T21:02:20.526Z","avatar_url":"https://github.com/claudiufrusina.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cruises Find project with selenium \u0026 telegram\n\n## Overview\n\nThis project includes several Python scripts for interacting with the Telegram Bot API, automating browser actions using Selenium, and taking screenshots.\n\n## Example of result in your Telegram chat bot\n\n![Chat bot example](https://github.com/claudiufrusina/GenericTelegramBotWithSelenium/blob/main/utility/images/example.png)\n\n## Installation\n\nTo install the required dependencies, run the following command:\n\n```sh\npip install -r requirements.txt\n```\n\n## Project Structure\n\n- 📄 **.env**: Contains environment variables such as `TELEGRAM_API_TOKEN`, `USER` \u0026 `PASSWORD`.\n- 📝 **check_api_endpoint.py**: Script to check the Telegram API endpoint.\n- 🌐 **check_infra.py**: Script to check network connectivity and send a test message via Telegram.\n- 🔍 **find_telegram_chatId.py**: Script to find and print the Telegram chat ID.\n- 📋 **requirements.txt**: List of dependencies required for the project.\n- 📁 **screenshots**: Directory to store screenshots taken by the scripts.\n- 🖥️ **script_selenium.py**: Script to automate browser actions and take screenshots using Selenium.\n- 🤖 **telegram_bot_conn.py**: Script to send a screenshot to a Telegram bot.\n\n## Usage\n\n### 🤖 telegram_bot_conn.py\n\nThis script is the main to interface with the Telegram API endpoint.\n\n```sh\npython telegram_bot_conn.py\n```\n\n### 🌐 check_infra.py\n\nThis script checks network connectivity and sends a test message via Telegram.\n\n### 🔍 find_telegram_chatId.py\n\nThis script finds and prints the Telegram chat ID.\n\n### 🖥️ script_selenium.py\n\nThis script automates browser actions and takes screenshots using Selenium.\n\n## Environment Variables\n\nCreate a .env file in the root directory with the following content:\n\nReplace the placeholder values with your actual credentials.\n\n## Activating the Virtual Environment\n\nTo create and activate a virtual environment, follow these steps:\n\n1. Create a virtual environment:\n\n```sh\npython -m venv venv\n- On Windows:\n    .venv\\Scripts\\activate\n- On macOS and Linux:\n    source venv/bin/activate\n```\nTo deactivate the virtual environment, simply run:\ndeactivate\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiufrusina%2Fgenerictelegrambotwithselenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudiufrusina%2Fgenerictelegrambotwithselenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiufrusina%2Fgenerictelegrambotwithselenium/lists"}