{"id":15633119,"url":"https://github.com/edsu/etudier","last_synced_at":"2025-04-05T20:01:50.275Z","repository":{"id":45894889,"uuid":"125571020","full_name":"edsu/etudier","owner":"edsu","description":"Extract a citation network from Google Scholar","archived":false,"fork":false,"pushed_at":"2024-10-10T21:31:48.000Z","size":14417,"stargazers_count":163,"open_issues_count":1,"forks_count":25,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T19:23:47.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/edsu.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":"2018-03-16T21:19:32.000Z","updated_at":"2024-12-27T09:07:55.000Z","dependencies_parsed_at":"2024-10-23T02:17:01.723Z","dependency_job_id":null,"html_url":"https://github.com/edsu/etudier","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.020000000000000018","last_synced_commit":"bc47c6e949d8119bee5547c640118ac0d43b3ad9"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fetudier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fetudier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fetudier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fetudier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/etudier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393545,"owners_count":20931811,"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-03T10:46:58.127Z","updated_at":"2025-04-05T20:01:50.213Z","avatar_url":"https://github.com/edsu.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Étudier in Action](figure.gif)\n\n*étudier* is a small Python program that uses [Selenium], [requests-html] and\n[networkx] to drive a *non-headless* browser to collect a citation graph around\na particular [Google Scholar] citation or set of search results. The resulting\nnetwork is written out as [GEXF] and [GraphML] files as well as an HTML file\nthat includes a [D3] network visualization (pictured above).\n\nIf you are wondering why it uses a non-headless browser it's because Google is\n[quite protective] of this data and will routinely ask you to solve a captcha\n(identifying street signs, cars, etc in photos) to prove you are not a bot.\n*étudier* allows you to complete these captcha tasks when they occur and then it\ncontinues on its way collecting data. You need to have a browser to interact\nwith in order to do your part.\n\nInstall\n-------\n\nYou'll need to install [ChromeDriver] before doing anything else. If you use\nHomebrew on OS X this is as easy as:\n\n    brew cask install chromedriver\n\nThen you'll want to install [Python 3] and:\n\n    pip3 install etudier\n\nRun\n---\n\nTo use étudier you first need to navigate to a page on Google Scholar that you are\ninterested in, for example here is the page of citations that reference Sherry\nOrtner's [Theory in Anthropology since the Sixties]. Then you start *etudier* up\npointed at that page.\n\n    % etudier 'https://scholar.google.com/scholar?start=0\u0026hl=en\u0026as_sdt=20000005\u0026sciodt=0,21\u0026cites=17950649785549691519\u0026scipsc='\n\nIf you are interested in starting with keyword search results in Google Scholar\nyou can do that too. For example here is the url for searching for \"cscw memory\"\nif I was interested in papers that talk about the CSCW conference and memory:\n\n    % etudier 'https://scholar.google.com/scholar?hl=en\u0026as_sdt=0%2C21\u0026q=cscw+memory\u0026btnG='\n\nNote: it's important to quote the URL so that the shell doesn't interpret the\nampersands as an attempt to background the process.\n\n### --pages\n\nBy default *étudier* will collect the 10 citations on that page and then look at\nthe top 10 citations that reference each one. So you will end up with no more\nthan 100 citations being collected (10 on each page * 10 citations).\n\nIf you would like to get more than one page of results use the `--pages`. For\nexample this would result in no more than 400 (20 * 20) results being collected:\n\n    % etudier --pages 2 'https://scholar.google.com/scholar?start=0\u0026hl=en\u0026as_sdt=20000005\u0026sciodt=0,21\u0026cites=17950649785549691519\u0026scipsc=' \n\n### --depth\n\nAnd finally if you would like to look at the citations of the citations you use the\n--depth parameter. \n\n    % etudier --depth 2 'https://scholar.google.com/scholar?start=0\u0026hl=en\u0026as_sdt=20000005\u0026sciodt=0,21\u0026cites=17950649785549691519\u0026scipsc='\n\nThis will collect the initial set of 10 citations, the top 10 citations for\neach, and then the top 10 citations of each of those, so no more than 1000\ncitations 1000 citations (10 * 10 * 10). It's no more because there is certain\nto be some cross-citation duplication.\n\n### --output\n\nBy default `output.gexf`, `output.graphml` and `output.html` files will be\nwritten to the current working directory, but you can change this with the\n`--output` option to control the prefix that is used. The output file will\ncontain rudimentary metadata collected from Google Scholar including:\n\n- *id* - the cluster identifier assigned by Google\n- *url* - the url for the publication\n- *title* - the title of the publication\n- *authors* - a comma separated list of the publication authors\n- *year* - the year of publication\n- *cited-by* - the number of other publications that cite the publication\n- *cited-by-url* - a Google Scholar URL for the list of citing publications\n* modularity - the modularity value obtained from community detection\n\nFeatures of HTML/D3 output\n--------------------------\n\n- Node's color shows its citation group\n- Node's size shows its times being cited\n- Click node to open its source website\n- Dragable nodes\n- Zoom and pan\n- Double-click to center node\n- Resizable window\n- Text labels\n- Hover to highlight 1st-order neighborhood\n- Click and press node to fade surroundings\n\n[Theory in Anthropology since the Sixties]: https://scholar.google.com/scholar?hl=en\u0026as_sdt=20000005\u0026sciodt=0,21\u0026cites=17950649785549691519\u0026scipsc=\n[Google Scholar]: https://scholar.google.com\n[Selenium]: https://docs.seleniumhq.org/\n[requests-html]: http://html.python-requests.org/\n[quite protective]: https://www.quora.com/Are-there-technological-or-logistical-challenges-that-explain-why-Google-does-not-have-an-official-API-for-Google-Scholar\n[GEXF]: https://gephi.org/\n[GraphML]: https://networkx.org/documentation/stable/reference/readwrite/graphml.html\n[networkx]: https://networkx.github.io/\n[D3]: https://d3js.org/\n[Python 3]: https://www.python.org/downloads/\n[ChromeDriver]: https://sites.google.com/a/chromium.org/chromedriver/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fetudier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Fetudier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fetudier/lists"}