{"id":24360420,"url":"https://github.com/dms-codes/scrape-stei-itb-ac-id","last_synced_at":"2026-05-27T15:03:20.902Z","repository":{"id":169618410,"uuid":"556653025","full_name":"dms-codes/scrape-stei-itb-ac-id","owner":"dms-codes","description":"Web Scraping with Python This Python script performs web scraping on a website to extract links, emails, and WhatsApp links from the specified domain (stei.itb.ac.id). It uses the requests library to fetch web pages and BeautifulSoup for parsing HTML content.","archived":false,"fork":false,"pushed_at":"2023-10-01T10:26:59.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T05:02:08.497Z","etag":null,"topics":["itb","python","stei","webscrape","webscraper"],"latest_commit_sha":null,"homepage":"https://github.com/dms-codes/scrape-stei-itb-ac-id ","language":"Python","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/dms-codes.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":"2022-10-24T08:54:54.000Z","updated_at":"2023-10-01T10:27:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"911cdb0a-f4ef-4bf5-9756-70518f0db574","html_url":"https://github.com/dms-codes/scrape-stei-itb-ac-id","commit_stats":null,"previous_names":["dms-codes/scrape-stei-itb-ac-id"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dms-codes/scrape-stei-itb-ac-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fscrape-stei-itb-ac-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fscrape-stei-itb-ac-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fscrape-stei-itb-ac-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fscrape-stei-itb-ac-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dms-codes","download_url":"https://codeload.github.com/dms-codes/scrape-stei-itb-ac-id/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fscrape-stei-itb-ac-id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33570993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["itb","python","stei","webscrape","webscraper"],"created_at":"2025-01-18T21:19:46.987Z","updated_at":"2026-05-27T15:03:20.883Z","avatar_url":"https://github.com/dms-codes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Scraping with Python\n\nThis Python script performs web scraping on a website to extract links, emails, and WhatsApp links from the specified domain (stei.itb.ac.id). It uses the `requests` library to fetch web pages and `BeautifulSoup` for parsing HTML content.\n\n## Usage\n\n1. Ensure you have the required libraries installed:\n\n   ```bash\n   pip install requests beautifulsoup4\n   ```\n\n2. Modify the script to specify the target domain (`DOMAIN`), home URL (`HOME_URL`), and other settings as needed.\n\n3. Run the script:\n\n   ```bash\n   python script.py\n   ```\n\n4. The script will perform the following actions:\n\n   - Visit the home URL (`HOME_URL`) and extract all links from the specified domain (`DOMAIN`).\n   - Collect email addresses (`mailto:` links) and WhatsApp links (`api.whatsapp.com`).\n   - Save the extracted data to separate log files (`scrape-links-stei.log`, `scrape-email-stei.log`, `scrape-whatsapp-stei.log`).\n\n5. The script will recursively follow links within the specified domain to gather additional URLs.\n\n6. The extracted links, emails, and WhatsApp links will be saved in their respective log files.\n\n## Customization\n\n- You can modify the `HOME_URL`, `DOMAIN`, `TIMEOUT`, or other settings in the script to target different websites or adjust the scraping behavior.\n\n- To specify a different starting URL, change the value of `HOME_URL` in the script.\n\n## Output\n\n- Extracted links from the specified domain are saved in `scrape-links-stei.log`.\n- Extracted email addresses are saved in `scrape-email-stei.log`.\n- Extracted WhatsApp links are saved in `scrape-whatsapp-stei.log`.\n\n## License\n\nThis script is provided under the [MIT License](LICENSE).\n```\n\nPlease adapt the script and README.md to your specific use case or requirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fscrape-stei-itb-ac-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdms-codes%2Fscrape-stei-itb-ac-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fscrape-stei-itb-ac-id/lists"}