{"id":22026125,"url":"https://github.com/curiouslearner/geeksforgeeksscrapper","last_synced_at":"2025-05-07T10:15:30.806Z","repository":{"id":81377197,"uuid":"47074887","full_name":"CuriousLearner/GeeksForGeeksScrapper","owner":"CuriousLearner","description":"Scrapes g4g and creates PDF","archived":false,"fork":false,"pushed_at":"2020-05-15T17:24:00.000Z","size":151,"stargazers_count":147,"open_issues_count":12,"forks_count":65,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-07T10:15:13.980Z","etag":null,"topics":["geeksforgeeks","hacktoberfest","pdf","scrapper","webscraper","webscraping"],"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/CuriousLearner.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}},"created_at":"2015-11-29T18:24:22.000Z","updated_at":"2025-04-25T18:18:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"67e13adc-9dc0-4d45-b21b-a0191138e337","html_url":"https://github.com/CuriousLearner/GeeksForGeeksScrapper","commit_stats":{"total_commits":16,"total_committers":5,"mean_commits":3.2,"dds":0.5625,"last_synced_commit":"1b683913d9eb3a1f60140920c33c46afc9c3de79"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CuriousLearner%2FGeeksForGeeksScrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CuriousLearner%2FGeeksForGeeksScrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CuriousLearner%2FGeeksForGeeksScrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CuriousLearner%2FGeeksForGeeksScrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CuriousLearner","download_url":"https://codeload.github.com/CuriousLearner/GeeksForGeeksScrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252856558,"owners_count":21814858,"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":["geeksforgeeks","hacktoberfest","pdf","scrapper","webscraper","webscraping"],"created_at":"2024-11-30T07:25:21.537Z","updated_at":"2025-05-07T10:15:30.773Z","avatar_url":"https://github.com/CuriousLearner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeeksForGeeksScrapper\nScrapes [GeeksForGeeks](http://www.geeksforgeeks.org) and creates html \u0026 PDF for chosen category along with syntax highlighting for the code.\n\n## Screenshots\n\nExample of articles of C category as html:\n\n![alt tag](https://github.com/CuriousLearner/GeeksForGeeksScrapper/blob/master/screenshots/G4G_C_html.png)\n\nExample of articles of C category as pdf:\n\n![alt tag](https://github.com/CuriousLearner/GeeksForGeeksScrapper/blob/master/screenshots/G4G_C_pdf.png)\n\n## Installation\nTo use the scrapper, install the following:\n\n`$ sudo apt-get install wkhtmltopdf`\n\nThen create venv\n\n`$ virtualenv /path/to/g4g-env`\n\nSwitch to venv\n\n`$ source /path/to/g4g-env/bin/activate`\n\nNow install BeautifulSoup as:\n\n`$ pip install beautifulsoup4`\n\nor via package manager as:\n\n`$ sudo apt-get install python-bs4`\n\nor for Python dependencies, you can just install via `requirements.txt` inside the virtual environment.\n\n`$ pip install -r requirements.txt`\n\n## Run the G4G_Scrapper\n\n$ python g4g.py\n\nChoose the category you want to scrape from the menu and wait for the magic to happen :)\n\nYou can find the output as `G4G_\u003ccategory_name\u003e.html` and `G4G_\u003ccategory_name\u003e.pdf` in the same directory.\n\n### Disclaimer: This is strictly for educational purpose only. Author will not be liable for anything, what so ever; you do with this script.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuriouslearner%2Fgeeksforgeeksscrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuriouslearner%2Fgeeksforgeeksscrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuriouslearner%2Fgeeksforgeeksscrapper/lists"}