{"id":13653821,"url":"https://github.com/dbeley/gsmarena-scraper","last_synced_at":"2025-04-23T06:32:04.263Z","repository":{"id":36792056,"uuid":"175908929","full_name":"dbeley/gsmarena-scraper","owner":"dbeley","description":"Scraper for gsmarena.com (deprecated)","archived":true,"fork":false,"pushed_at":"2023-11-27T20:49:57.000Z","size":66,"stargazers_count":26,"open_issues_count":5,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T04:36:33.978Z","etag":null,"topics":["docker","gsmarena","tor"],"latest_commit_sha":null,"homepage":"","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/dbeley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-16T00:42:23.000Z","updated_at":"2024-10-31T14:16:49.000Z","dependencies_parsed_at":"2024-06-16T07:30:50.110Z","dependency_job_id":"fb9a8998-74d2-4ea3-935d-76bd729629e6","html_url":"https://github.com/dbeley/gsmarena-scraper","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/dbeley%2Fgsmarena-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgsmarena-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgsmarena-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgsmarena-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbeley","download_url":"https://codeload.github.com/dbeley/gsmarena-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250385270,"owners_count":21421885,"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":["docker","gsmarena","tor"],"created_at":"2024-08-02T02:01:18.421Z","updated_at":"2025-04-23T06:31:59.249Z","avatar_url":"https://github.com/dbeley.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# gsmarena_scraper\n\n**DEPRECATED: even with tor, the rate limiting of gsmarena is too sensitive for the script to complete properly. Use it at your own risk.**\n\nThis script extract the mobile specs from all the phones available in gsmarena.com to a csv file (+ one for each brand).\n\nTo avoid spam detection, run with TOR (see below).\n\n## Requirements\n\n- python + pip\n- docker + docker-compose\n\n## Installation\n\nClone the repository:\n```\ngit clone https://github.com/dbeley/gsmarena-scraper\ncd gsmarena-scraper\n```\n\nInstall the python dependencies:\n```\npip install requests beautifulsoup4 lxml pandas pysocks stem\n```\n\nIf you prefer, you can also install the requirements in a virtual environment with pipenv (in order to run the python script, you will need to use `pipenv run python gsmarena-scraper.py` instead of `python gsmarena-scraper.py`):\n```\npipenv install\n```\n\n## Usage\n\nRun the docker container containing the tor proxy (you can tweak the torrc configuration file if you want, but the defaults should be good):\n```\ndocker-compose up -d\n```\n\nRun the script:\n```\npython gsmarena-scraper.py\n```\n\nAfter completion, you can stop the docker container with `docker-compose down`.\n\n## Help\n\n```\npython gsmarena_scraper.py -h\n```\n\n```\nusage: gsmarena-scraper.py [-h] [--debug]\n\nScraper gsmarena.\n\noptional arguments:\n  -h, --help  show this help message and exit\n  --debug     Display debugging information\n```\n\n## Files exported\n\nThe exported files will be placed in a folder named Exports. The `all-brands_exports.csv` will contain the data of all brands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fgsmarena-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbeley%2Fgsmarena-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fgsmarena-scraper/lists"}