{"id":18413167,"url":"https://github.com/pybites/form-automation-fun","last_synced_at":"2025-07-23T11:03:44.222Z","repository":{"id":50208352,"uuid":"100824369","full_name":"pybites/form-automation-fun","owner":"pybites","description":"Using Requests and Selenium to automate PyBites Banner Generator app login and banner form submission/ creation","archived":false,"fork":false,"pushed_at":"2022-12-08T00:43:51.000Z","size":5,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T11:37:42.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pybites.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-19T22:17:44.000Z","updated_at":"2021-02-07T23:44:34.000Z","dependencies_parsed_at":"2023-01-25T01:31:32.362Z","dependency_job_id":null,"html_url":"https://github.com/pybites/form-automation-fun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pybites/form-automation-fun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fform-automation-fun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fform-automation-fun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fform-automation-fun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fform-automation-fun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pybites","download_url":"https://codeload.github.com/pybites/form-automation-fun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fform-automation-fun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266665763,"owners_count":23964968,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T03:45:01.001Z","updated_at":"2025-07-23T11:03:43.888Z","avatar_url":"https://github.com/pybites.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PyBites Banner Generator Automation\n\nCode for PyBites article [Fully Automate Login and Banner Generation with Selenium, Requests and Click](https://pybit.es/selenium-requests-automation.html).\n\n### Background\n\nAfter writing [Making a Banner Generator With Pillow and Flask](https://pybit.es/pillow-banner-flask.html) I felt like automating the process even more.\n\nSo I wrote two scripts to use Requests and Selenium to automate [PyBites Banner Generator](https://pybites-banners.herokuapp.com/) app login and banner form submission/ creation.\n\nInstall requirements (might need to OS install PhantomJS) and run:\n\n1. Public version: \n\n\t\t$ python public_banner.py\n\t\n\tThis is an interactive script\n\n2. Private version (PyBites only for now - but feel free to clone the repo and deploy it to Heroku with your own logos):\n\n\t\t$ export USERNAME=my_user\n\t\t$ export PASSWORD=my_password\n\n\tI am using [the awesome click module](http://click.pocoo.org/5/) for the CLI interface:\n\n\t\t$ python private_banner.py  --help\n\t\tUsage: private_banner.py [OPTIONS]\n\n\t\tOptions:\n\t\t-n, --name TEXT\n\t\t-l, --logo [news|challenge|special|article]\n\t\t-i, --image TEXT\n\t\t-t, --text TEXT\n\t\t-b, --background / -nb, --no-background\n\t\t-o, --outfile TEXT\n\t\t-u, --username TEXT\n\t\t-p, --password TEXT\n\t\t--help                          Show this message and exit.\n\n\tFor example:\n\n\t\t$ python private_banner.py  -n mybanner \\\n\t\t-l special -i http://images.indianexpress.com/2015/05/python.jpg \\\n\t\t-t 'PyBites Banner Generator Automation' -b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites%2Fform-automation-fun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybites%2Fform-automation-fun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites%2Fform-automation-fun/lists"}