{"id":24408801,"url":"https://github.com/ahasverus/gpack","last_synced_at":"2026-05-18T00:03:18.532Z","repository":{"id":93932972,"uuid":"228823532","full_name":"ahasverus/gpack","owner":"ahasverus","description":":package: R package to web scrap G**gle services","archived":false,"fork":false,"pushed_at":"2022-12-08T09:40:05.000Z","size":266,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-26T18:51:58.178Z","etag":null,"topics":["docker-image","google-images","google-scholar","google-search","google-trends","openvpn","r","rselenium","rvest","unix-systems","webscraping"],"latest_commit_sha":null,"homepage":"https://ahasverus.github.io/gpack","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahasverus.png","metadata":{"files":{"readme":"README.Rmd","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-12-18T11:13:44.000Z","updated_at":"2026-01-14T14:29:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6ee8a1f-0270-4fe4-b125-0ccef6bd4889","html_url":"https://github.com/ahasverus/gpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahasverus/gpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Fgpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Fgpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Fgpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Fgpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahasverus","download_url":"https://codeload.github.com/ahasverus/gpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Fgpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker-image","google-images","google-scholar","google-search","google-trends","openvpn","r","rselenium","rvest","unix-systems","webscraping"],"created_at":"2025-01-20T05:52:53.414Z","updated_at":"2026-05-18T00:03:18.517Z","avatar_url":"https://github.com/ahasverus.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(collapse  = TRUE,\n                      comment   = \"#\u003e\",\n                      fig.path  = \"man/figures/\",\n                      out.width = \"100%\")\n```\n\n\n\ngpack \u003cimg src=\"man/figures/package-sticker.png\" align=\"right\" style=\"float:right; height:120px;\"/\u003e\n=========================================================\n\n\u003c!-- badges: start --\u003e\n[![R CMD Check](https://github.com/ahasverus/gpack/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ahasverus/gpack/actions/workflows/R-CMD-check.yaml)\n[![Website](https://github.com/ahasverus/gpack/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/ahasverus/gpack/actions/workflows/pkgdown.yaml)\n[![CRAN status](https://www.r-pkg.org/badges/version/gpack)](https://CRAN.R-project.org/package=gpack)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://choosealicense.com/licenses/mit/)\n\u003c!-- badges: end --\u003e\n\n\nThe goal of the R package `gpack` is to provide tools to web scraping G\\*\\*gle \nServices (Scholar, Pictures, Trends, Search). As G\\*\\*gle does not provide any API\nand does not allow web scraping, user public IP address can be banned. This \npackage relies on the software OpenVPN to periodically change the IP address\nand the user-agent (i.e. the technical information about your system).\n\n\n\n## System requirements\n\nBefore using the package `gpack` you must follow these instructions:\n\n\n### Operating system\n\nThe package `gpack` has been developed **only for Unix platforms** (macOS and GNU/Linux).\nIf you are on Windows, you can use Docker to start a GNU/Linux container.\n\n**Important:** the package `gpack` must be run **outside RStudio** (e.g. under a terminal).\n\n\n### OpenVPN\n\nThe package `gpack` uses [**OpenVPN**](https://openvpn.net/). This software is a Virtual Private Network \n(VPN) system. It creates secure connection to VPN server. To install this software\nplease follows these [**instructions**](https://gist.github.com/ahasverus/41f8a99583149534cac08e7b8f13c51b).\n\nYou also need to store your Unix user password (`openvpn` requires super user \nrights to be controlled): Under R, run the following command: \n`usethis::edit_r_environ()`. Add the following line: `UNIX_PASSWD='xxx99_999xXxx'`\n\n\n\n### Docker engine\n\nThe software [**Docker**](https://www.docker.com/) must be installed and running.\nThe technology [Selenium](https://www.selenium.dev/) will be run inside a Docker\ncontainer.\n\n\n\n### Selenium image\n\nThe Docker image \n[`selenium/standalone-firefox`](https://hub.docker.com/r/selenium/standalone-firefox) \nmust be installed. This image contains the Selenium technology running a Firefox browser.\n\n\n\n## Installation\n\nYou can install the development version from [GitHub](https://github.com/) with:\n\n```{r eval = FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"ahasverus/gpack\")\n```\n\nThen you can attach the package `gpack`:\n\n```{r eval = FALSE}\nlibrary(\"gpack\")\n```\n\n\n\n## Overview\n\nThe package `gpack` provides two main function:\n\n- `check_system()`: must be run first to change the integrity of the system\n- `scrap_gscholar()`: get references metadata from G\\*\\*gle Scholar\n\n\n\n## Citation\n\nPlease cite this package as: \n\n\u003e Casajus N (`r format(Sys.Date(), \"%Y\")`) gpack: An R package to web scrap \nG\\*\\*gle Services (Scholar, Pictures, Trends, Search). R package version 0.0.1.\n\n\n\n## Code of Conduct\n\nPlease note that the `gpack` project is released with a \n[Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). \nBy contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahasverus%2Fgpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahasverus%2Fgpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahasverus%2Fgpack/lists"}