{"id":15957084,"url":"https://github.com/hereismari/a2oj-as-csv","last_synced_at":"2025-04-04T09:29:41.763Z","repository":{"id":88345373,"uuid":"51024141","full_name":"hereismari/a2oj-as-csv","owner":"hereismari","description":"Python script that takes an a2oj standing and returns a csv with the submissions information. This was tested and is woking with: Ubuntu 16.4 and selenium with Firefox.","archived":false,"fork":false,"pushed_at":"2018-04-06T01:05:51.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T20:16:26.266Z","etag":null,"topics":["a2oj","csv","google-sheets","selenium"],"latest_commit_sha":null,"homepage":"","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/hereismari.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-03T19:21:23.000Z","updated_at":"2018-04-06T01:05:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fb36b64-f604-4bdc-a69d-bd7a43106c33","html_url":"https://github.com/hereismari/a2oj-as-csv","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/hereismari%2Fa2oj-as-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hereismari%2Fa2oj-as-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hereismari%2Fa2oj-as-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hereismari%2Fa2oj-as-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hereismari","download_url":"https://codeload.github.com/hereismari/a2oj-as-csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247152398,"owners_count":20892484,"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":["a2oj","csv","google-sheets","selenium"],"created_at":"2024-10-07T13:40:31.093Z","updated_at":"2025-04-04T09:29:41.708Z","avatar_url":"https://github.com/hereismari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a2oj As CSV\n\nPython2.7 script that takes an [a2oj](http://a2oj.com/) standing and returns a csv with the submissions information.\nThis was tested and is woking with: Ubuntu 16.4 and selenium with Chrome.\n\nIn this repository there is also an app to automaticly update a sheet at [Google Sheets](https://www.google.com/sheets/about/) based on the `runApp.py` result.\nThank you so much [gspread](https://github.com/burnash/gspread) :smile:!\n\n# What will I need in order to run it?\n\nYou can install all the python dependencies running: pip install -r requirements.txt\n\nI'm using Chrome as browser, you can change it if you want, just change the webdriver line in [this file](https://github.com/mari-linhares/a2oj-as-csv/blob/master/utils/webConnection.py).\n\n# How do I run it?\n\nRun it on shell:\n\n`$python runApp.py \u003cID of the standings\u003e -o \u003cname/path of the output\u003e`\n\nIf the name/path of the output isn't explicit the output will be `\u003cStandings name\u003e.csv`\n\nThis will give you a full table almost like a2oj it self.\n\n## Common problem: WebDriverException: Message: 'geckodriver' executable needs to be in PATH.\n\nYou can solve this downloading a stable version of [geckodriver](https://github.com/mozilla/geckodriver/releases), then descompact it and run the following command in terminal:\n\n$ PATH=$PATH:/path/to/directory/of/executable/downloaded/in/previous/step\n\n# How is the output file?\n\nUsername | Ranking | Country | Number of Solved Problems| P1 - url | P2 - url | P3 - url | ... | PN - url|\n-------- | --------| --------| -------------------------| ---------| ---------| ---------| ----| --------|\nuser1    |    1    |  Brazil |              3           |     1    |     1    |     1    | ... |     0/0 |\nuser2    |    2    |  India  |              2           |     0/0  |     0/0  |     1    | ... |     1   |\nuser3    |    3    |  Russia |              2           |     0/8  |     1    |     0/0  | ... |     1   |\n...      |    ...  |  Brazil |              1           |     0/0  |     1    |     0/7  | ... |     0/54|\nusern    |    n    |  Brazil |              0           |     0/100|     0/0  |     0/0  | ... |     0/0 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhereismari%2Fa2oj-as-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhereismari%2Fa2oj-as-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhereismari%2Fa2oj-as-csv/lists"}