{"id":16553749,"url":"https://github.com/phette23/selenium-usage-statistics","last_synced_at":"2025-03-04T18:41:54.304Z","repository":{"id":11054334,"uuid":"13393459","full_name":"phette23/selenium-usage-statistics","owner":"phette23","description":"Automate retrieving library e-resource usage reports with Selenium","archived":false,"fork":false,"pushed_at":"2014-04-07T19:55:50.000Z","size":1084,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T03:09:04.963Z","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/phette23.png","metadata":{"files":{"readme":"readme.mdown","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":"2013-10-07T19:27:39.000Z","updated_at":"2014-04-07T19:55:51.000Z","dependencies_parsed_at":"2022-09-02T20:00:38.568Z","dependency_job_id":null,"html_url":"https://github.com/phette23/selenium-usage-statistics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fselenium-usage-statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fselenium-usage-statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fselenium-usage-statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fselenium-usage-statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phette23","download_url":"https://codeload.github.com/phette23/selenium-usage-statistics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241904395,"owners_count":20040015,"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":[],"created_at":"2024-10-11T19:49:19.418Z","updated_at":"2025-03-04T18:41:54.268Z","avatar_url":"https://github.com/phette23.png","language":"Python","readme":"# Automatic E-Resource Statistics\n\nUses [Selenium](http://selenium-python.readthedocs.org/en/latest/) to script opening four common library vendor usage statistic sites in a browser, signing in, and running COUNTER JR 1 reports. See it in action:\n\n![script in action](https://raw.github.com/phette23/selenium-usage-statistics/master/in-action.gif)\n\n## Getting Started\n\n- Have Python 2.7 installed\n- Install [the Selenium IDE add-on](http://www.seleniumhq.org/projects/ide/) for Firefox\n- `pip install -r requirements.txt`, if you don't have pip already then `easy_install pip` first\n- Copy example.json to logins.json \u0026 fill in your EBSCO, ProQuest, Gale admin credentials\n- Run jr1-stats.py, e.g. by running `python jr1-stats.py` from within the project's directory\n\nIf you get a \"No such file or directory\" error (see error.txt for example), you may have your Firefox binary in an unexpected location. For instance, I installed Firefox on a Mac with [homebrew cask](https://github.com/phinze/homebrew-cask) which puts Firefox.app my user's Applications folder, not the root Applications folder. If you run into the same problem on a Mac, symlinking Firefox.app into /Applications can fix it. Open Terminal.app (in Utilities) and run:\n\n```bash\ncd /Applications \u0026\u0026 ln -s ~/Applications/Firefox.app\n```\n\nwhere \"~/Applications/Firefox.app\" is wherever your non-standard location for Firefox is.\n\nHat-tip to [this StackOverflow thread](http://stackoverflow.com/questions/8334706/selenium-and-python-on-snow-leopard) for diagnosing that issue.\n\n## To Do\n\nThis is mostly a proof-of-concept script at this point. Eventually it would be nice to make it easier to add additional vendors, for instance with a get_vendor class which EBSCO, ProQuest, etc. are all instances of. It'd also be nice to be able to specify time ranges or report types but that's a challenge given variability of vendor interfaces.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphette23%2Fselenium-usage-statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphette23%2Fselenium-usage-statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphette23%2Fselenium-usage-statistics/lists"}