{"id":14975881,"url":"https://github.com/cploutarchou/web-scraping-with-python","last_synced_at":"2025-04-30T21:32:22.706Z","repository":{"id":47285132,"uuid":"402555412","full_name":"cploutarchou/web-scraping-with-python","owner":"cploutarchou","description":"A StackOverflow Web Scaper in python and MongoDB","archived":false,"fork":false,"pushed_at":"2021-10-17T14:56:56.000Z","size":6287,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T04:51:10.619Z","etag":null,"topics":["beautifulsoup","dashboard","docker","dockercompose","mongodb","numpy","pandas","python","scraper","scraping"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cploutarchou.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}},"created_at":"2021-09-02T20:32:48.000Z","updated_at":"2023-05-12T18:15:41.000Z","dependencies_parsed_at":"2022-09-23T03:32:49.443Z","dependency_job_id":null,"html_url":"https://github.com/cploutarchou/web-scraping-with-python","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cploutarchou%2Fweb-scraping-with-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cploutarchou%2Fweb-scraping-with-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cploutarchou%2Fweb-scraping-with-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cploutarchou%2Fweb-scraping-with-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cploutarchou","download_url":"https://codeload.github.com/cploutarchou/web-scraping-with-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251785543,"owners_count":21643499,"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":["beautifulsoup","dashboard","docker","dockercompose","mongodb","numpy","pandas","python","scraper","scraping"],"created_at":"2024-09-24T13:52:48.574Z","updated_at":"2025-04-30T21:32:20.665Z","avatar_url":"https://github.com/cploutarchou.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackOverflow-scraper-using-python\nA simple scraper app for StackOverflow using MongoDB.\n\n## How to Run\n* For the first time you need to run ./init.sh\n* You can stop the infrastructure usinf ./stop.sh \n* You can start the infrastructure usinf ./start.sh\n## Requirements:\n* docker\n* docker-compose\n\n\n## Graylog :\n* http://172.21.0.35:9000/\n* Usename : admin\n* password : admin\n\nTo be able to receive application logs to Graylog you need to make the followings\n1. Create one GelfTCP input stream\n   1. Click on System/inputs/gelf\n   2. Select Gelf TCP from the dropdown \n   3. Click on Launch new input \n   4. add a Title for the input \n   5. Click save\n   6. Now, you can access the application log by Click on Show Received Messages\n\n## Application UI:\n* Url : http://172.21.0.25\n\n## MongoDB\n* Url : http://172.21.0.20\n* Database name : webscrapper\n* Database User : admin\n* Database password : admin\n\n## Cron JOB:\nif is required to update cron job run you can edit the followings:\n* Docker/scripts/entrypoint.sh and update the default expression (*/30 * * * *) bases on your requirements.\n* Docker/scripts/scheduler.txt and update the default expression (*/30 * * * *) bases on your requirements.\n\n\n## Important notes\n* The application, by default, fetches the first ten pages from StackOverflow every 30 minutes.\nA cron job runs the scraper and updates the application database.\n\n* It is required to fetch more pages. You can update the passed parameters of method execute_job() from 10 to any other value between 10 and 1000. The file is located on app/scraper.py\n\n## Screenshots\n\n### Dash\n![dashboard](https://raw.githubusercontent.com/cploutarchou/web-scraping-with-python/master/assets/dashboard.jpeg)\n\n### Charts\n![Charts](https://raw.githubusercontent.com/cploutarchou/web-scraping-with-python/master/assets/chart.jpeg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcploutarchou%2Fweb-scraping-with-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcploutarchou%2Fweb-scraping-with-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcploutarchou%2Fweb-scraping-with-python/lists"}