{"id":34107755,"url":"https://github.com/9b/google-alerts","last_synced_at":"2026-04-09T03:33:49.754Z","repository":{"id":45800485,"uuid":"130526275","full_name":"9b/google-alerts","owner":"9b","description":"Python library for automating the administration of Google Alerts.","archived":false,"fork":false,"pushed_at":"2023-01-19T21:25:04.000Z","size":7266,"stargazers_count":104,"open_issues_count":12,"forks_count":29,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-12-17T01:23:33.614Z","etag":null,"topics":["abstraction","google","google-alerts","python","unofficial-apis"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/google-alerts/","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/9b.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-22T01:47:27.000Z","updated_at":"2025-11-17T09:18:53.000Z","dependencies_parsed_at":"2023-01-24T05:01:04.392Z","dependency_job_id":null,"html_url":"https://github.com/9b/google-alerts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/9b/google-alerts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9b%2Fgoogle-alerts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9b%2Fgoogle-alerts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9b%2Fgoogle-alerts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9b%2Fgoogle-alerts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9b","download_url":"https://codeload.github.com/9b/google-alerts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9b%2Fgoogle-alerts/sbom","scorecard":{"id":6402,"data":{"date":"2025-08-11","repo":{"name":"github.com/9b/google-alerts","commit":"f441e6a72298f770d0d7549d3691f3f2f7151986"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 3/25 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-421 / GHSA-h4m5-qpfp-3mpv","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2022-43167","Warn: Project is vulnerable to: PYSEC-2023-206","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2021-108"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T13:38:30.906Z","repository_id":45800485,"created_at":"2025-08-14T13:38:30.907Z","updated_at":"2025-08-14T13:38:30.907Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["abstraction","google","google-alerts","python","unofficial-apis"],"created_at":"2025-12-14T18:08:57.578Z","updated_at":"2026-04-09T03:33:49.749Z","avatar_url":"https://github.com/9b.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python Google Alerts\n====================\n.. image:: https://readthedocs.org/projects/google-alerts/badge/?version=latest\n    :target: http://google-alerts.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://badge.fury.io/py/google-alerts.svg\n    :target: https://badge.fury.io/py/google-alerts\n\n.. image:: https://img.shields.io/badge/License-MIT-yellow.svg\n    :target: https://opensource.org/licenses/MIT\n\n\nThe `google-alerts` Python module provides an abstract interface for the Google Alerts service. Google does not provide an official API for this service, so interactions are done through web scripting.\n\n**WARNING:** Your account password will be obfuscated and saved on the file system. Additionally, post-authentication, a session cookie will also be saved. These can be stolen and re-used to compromise your account. As a best practice, register a new email to manage alerts.\n\nFor detailed explanations of the library, please see the wiki_.\n\n.. _wiki: https://github.com/9b/google-alerts/wiki\n\nQuick Start\n-----------\n**Install the library**:\n\n``pip install google-alerts`` or ``python setup.py install``\n\n**Install all dependencies from requirements**:\n``pip install -r requirements.txt``\n\n**Save your configuration**:\n\n``google-alerts setup --email \u003cyour.mail@foo.com\u003e --password 'password'``\n\n**Seed your session (driver download, http://chromedriver.chromium.org/downloads, do NOT use the pip package as the version is old)**:\n\n``google-alerts seed --driver /tmp/chromedriver --timeout 60``\n\n**Create a monitor**:\n\n``google-alerts create --term \"hello world\" --delivery 'rss' --frequency 'realtime'``\n\n**List monitors**:\n\n``google-alerts list``\n\n**Delete a monitor**:\n\n``google-alerts delete --id '89e517961a3148c7:c395b7d271b4eccc:com:en:US'``\n\nSample Code\n-----------\n\nThis sample code shows some of the range of functionality within the module::\n\n    from google_alerts import GoogleAlerts\n\n    # Create an instance\n    ga = GoogleAlerts('your.email@gmail.com', '**password**')\n\n    # Authenticate your user\n    ga.authenticate()\n\n    # List configured monitors\n    ga.list()\n\n    # Add a new monitor\n    ga.create(\"Hello World\", {'delivery': 'RSS'})\n\n    # Modify an existing monitor\n    ga.modify(\"89e517961a3148c7:c395b7d271b4eccc:com:en:US\", {'delivery': 'RSS', 'monitor_match': 'ALL'})\n\n    # Delete a monitor\n    ga.delete(\"89e517961a3148c7:c395b7d271b4eccc:com:en:US\")\n\n\nExample Output\n--------------\n\nBelow is an example monitor::\n\n    [{\n        \"term\": \"hello world\",\n        \"user_id\": \"09738342945634096720\",\n        \"language\": \"en\",\n        \"monitor_id\": \"89e517961a3148c7:c395b7d271b4eccc:com:en:US\",\n        \"region\": \"US\",\n        \"rss_link\": \"https://google.com/alerts/feeds/09738342945634096720/9663349274289663466\",\n        \"delivery\": \"RSS\",\n        \"match_type\": \"BEST\"\n    }]\n\nFeatures\n--------\n* Add new monitors (RSS or Mail)\n* Modify existing monitors\n* Delete monitors by ID or term\n* List all monitors with details\n\nChangelog\n---------\n05-09-20\n~~~~~~~~\n* Bugfix: Adjusted the seeding process to use Stackoverflow in order to handle initial Google authentication to bypass bot checks\n\n11-20-19\n~~~~~~~~\n* Change: Captured all results by default instead of best\n\n07-15-19\n~~~~~~~~\n* Bugfix: Handle issues in exception definition\n* Bugfix: Provide alert_frequency with a default option if not supplied\n\n07-14-19\n~~~~~~~~\n* Change: Wrap state parsing functions and have them raise exception on failures\n* Bugfix: Account for state changed pushed by Google, breaking all processing\n\n05-23-19\n~~~~~~~~\n* Feature: Add a new command line argument to allow a user to specify a seed timeout time\n\n11-11-18\n~~~~~~~~\n* Feature: Add a new command line argument to seed a session through the browser\n* Change: Added python version detection to the manage script as well\n\n10-13-18\n~~~~~~~~\n* Feature: Detect when user changes between Python versions during setup\n* Bugfix: Setup process appears to finally be bug-free, screw python2 support\n\n07-10-18\n~~~~~~~~\n* Feature: Added the ability to set the frequency when creating alerts\n* Bugfix: Fixed frequency settings when using the mail delivery method\n\n05-30-18\n~~~~~~~~\n* Change: Explicitly detect when a CAPTCHA is being thrown\n\n05-28-18\n~~~~~~~~\n* Feature: Take advantage of the config file concept inside of the class\n* Feature: Authenticate users with a session file if it's available\n* Change: Tell Chrome to avoid using Javascript so we get the old form\n\n05-25-18\n~~~~~~~~\n* Change: Added headers to all calls to look like less of a bot\n* Bugfix: Wrapped a problem area when inspecting the forms in a page\n* Bugfix: Handled setup error for Python3\n\n04-29-18\n~~~~~~~~\n* Feature: Allow users to setup exact match queries\n* Change: Added support for Python3\n* Bugfix: Removed extra calls causing an error in the decrypt process\n\n04-26-18\n~~~~~~~~\n* Feature: Added a command line utility to the code for easy testing\n* Bugfix: Removed clobbering error inside of delete routine\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9b%2Fgoogle-alerts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9b%2Fgoogle-alerts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9b%2Fgoogle-alerts/lists"}