{"id":16557098,"url":"https://github.com/prem-ium/pythonanywhere-extendtask","last_synced_at":"2025-03-04T23:27:14.368Z","repository":{"id":267157760,"uuid":"747460916","full_name":"Prem-ium/PythonAnywhere-ExtendTask","owner":"Prem-ium","description":"VERY Simple Selenium script to automate extending PythonAnywhere tasks for free.","archived":false,"fork":false,"pushed_at":"2025-02-10T14:28:54.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:14:04.839Z","etag":null,"topics":["automation","pythonanywhere","selenium","selenium-python","web-automation"],"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/Prem-ium.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["Prem-ium"],"custom":"https://www.buymeacoffee.com/prem.ium"}},"created_at":"2024-01-24T01:04:02.000Z","updated_at":"2025-02-10T14:28:57.000Z","dependencies_parsed_at":"2024-12-12T22:38:21.219Z","dependency_job_id":null,"html_url":"https://github.com/Prem-ium/PythonAnywhere-ExtendTask","commit_stats":null,"previous_names":["prem-ium/pythonanywhere-extendtask"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prem-ium%2FPythonAnywhere-ExtendTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prem-ium%2FPythonAnywhere-ExtendTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prem-ium%2FPythonAnywhere-ExtendTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prem-ium%2FPythonAnywhere-ExtendTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prem-ium","download_url":"https://codeload.github.com/Prem-ium/PythonAnywhere-ExtendTask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241937374,"owners_count":20045247,"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":["automation","pythonanywhere","selenium","selenium-python","web-automation"],"created_at":"2024-10-11T20:06:31.770Z","updated_at":"2025-03-04T23:27:14.348Z","avatar_url":"https://github.com/Prem-ium.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e📊 PythonAnywhere Task Extension Automation 🤖 \u003c/h1\u003e\r\n\r\n\u003cp align=\"center\"\u003eA very simple Selenium script to extend tasks on multiple PythonAnywhere account(s).\u003c/p\u003e\r\n\r\n\u003cp align=\"right\"\u003e \r\n        \u003cimg src=\"https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54\"/\u003e\u003cimg src=\"https://img.shields.io/badge/-selenium-%43B02A?style=for-the-badge\u0026logo=selenium\u0026logoColor=white\"/\u003e\u003ca href=\"https://github.com/sponsors/Prem-ium\" target=\"_blank\"\u003e\r\n        \u003cimg src=\"https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#EA4AA\" alt=\"Github Sponsor\"/\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n## Installation\r\nClone the repository \u0026 Install dependencies\r\n```bash\r\n  git clone https://github.com/Prem-ium/PythonAnywhere-ExtendTask.git\r\n  cd PythonAnywhere-ExtendTask\r\n  pip install -r requirements.txt\r\n```\r\nFinally, you're ready to run the script!\r\n```bash\r\n  python main.py\r\n```\r\n## Enviornmental Variables\r\n\r\n- **`LOGIN`**:  \r\n  A string containing one or more PythonAnywhere login credentials, separated by commas (`,`). Each credential consists of a username and password, separated by a colon (`:`).  \r\n  Example:  \r\n  ```plaintext\r\n  LOGIN=\"USERNAME:PASSWORD,USERNAME2:PASSWORD2,ACCOUNT3:PASSWORD3\"\r\n  ```\r\n\r\n\r\n# Scheduling Script Weekly on Windows and Linux Startup\r\n## Windows\r\n\r\nTo schedule the execution of a Python script on Windows every week when the system boots, you can use the Task Scheduler. Follow these steps:\r\n\r\n1. **Open Task Scheduler:** Press `Win + S`, type \"Task Scheduler,\" and select it from the search results.\r\n\r\n2. **Create a Basic Task:**\r\n   - Click on \"Create Basic Task\" in the right-hand menu.\r\n   - Follow the wizard to set a name and description for your task.\r\n\r\n3. **Trigger Settings:**\r\n   - Choose the \"Weekly\" trigger option.\r\n   - Set the day and time you want the script to run each week.\r\n\r\n4. **Action Settings:**\r\n   - Select \"Start a program\" as the action.\r\n   - Browse and select the Python executable (e.g., `python.exe`) as the program/script.\r\n   - In the \"Add arguments\" field, provide the path to your Python script (e.g., `C:\\path\\to\\your\\script.py`).\r\n\r\n5. **Finish:**\r\n   - Review your settings and complete the wizard.\r\n\r\nYour Python script will now run every week at the specified day and time when the Windows system starts.\r\n\r\n## Linux\r\n\r\nTo schedule the execution of a Python script on Linux every week during boot, you can use `cron`. Follow these steps:\r\n\r\n1. **Open the Crontab Editor:**\r\n   - Open a terminal.\r\n   - Type `crontab -e` to edit the crontab file.\r\n\r\n2. **Add a Weekly Cron Job:**\r\n   - In the editor, add the following line to run your Python script every week at boot:\r\n     ```\r\n     @reboot /path/to/python3 /path/to/your/script.py\r\n     ```\r\n     Replace `/path/to/python3` with the path to your Python interpreter (use `which python3` to find it) and `/path/to/your/script.py` with the path to your Python script.\r\n\r\n3. **Save and Exit:**\r\n   - Save the changes and exit the crontab editor.\r\n\r\nNow, your Python script will be executed every week when the Linux system boots up.\r\n\r\nNote: Ensure that your Python script has the necessary permissions to run and that any required dependencies are available.\r\n\r\n## Donations\r\n1. **GitHub Sponsors**\r\n   - [Donate via GitHub Sponsors](https://github.com/sponsors/Prem-ium)\r\n   - This is the preferred donation method as you can place donations with no transaction fees \u0026 possibily receive perks for your donation.\r\n   - [![GitHub Sponsor](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#EA4AAA)](https://github.com/sponsors/Prem-ium)\r\n\r\n2. **Buy Me A Coffee**\r\n   - [Donate via Buy Me A Coffee](https://www.buymeacoffee.com/prem.ium)\r\n   - [![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/prem.ium)\r\n\r\n3. **Referral Links**  \r\n   - If you're unable to make a monetary donation, you can still support my work by using my curated [Referral Links](https://github.com/Prem-ium/Referral-Link-Me/blob/main/README.md). Earn bonuses and rewards while contributing to my projects at the same time.  \r\n   - [Explore Referral Links](https://github.com/Prem-ium/Referral-Link-Me/blob/main/README.md)  \r\n\r\n## License\r\nThis repository is using the [MIT](https://choosealicense.com/licenses/mit/) license.","funding_links":["https://github.com/sponsors/Prem-ium","https://www.buymeacoffee.com/prem.ium"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprem-ium%2Fpythonanywhere-extendtask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprem-ium%2Fpythonanywhere-extendtask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprem-ium%2Fpythonanywhere-extendtask/lists"}