{"id":18890194,"url":"https://github.com/SalzBytes/scraping_wilayah_pdf","last_synced_at":"2026-02-25T14:30:20.554Z","repository":{"id":243041541,"uuid":"811171966","full_name":"mocfaisal/scraping_wilayah_pdf","owner":"mocfaisal","description":"Scraping Data Wilayah Indonesia from PDF","archived":false,"fork":false,"pushed_at":"2024-06-20T01:38:10.000Z","size":67053,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T06:12:36.970Z","etag":null,"topics":["csv","kemendagri","mysql","node","nodejs","wilayah","wilayah-indonesia"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mocfaisal.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":"2024-06-06T04:44:12.000Z","updated_at":"2024-07-03T08:11:06.000Z","dependencies_parsed_at":"2024-11-08T08:03:13.361Z","dependency_job_id":null,"html_url":"https://github.com/mocfaisal/scraping_wilayah_pdf","commit_stats":null,"previous_names":["mocfaisal/scraping_wilayah_pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mocfaisal%2Fscraping_wilayah_pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mocfaisal%2Fscraping_wilayah_pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mocfaisal%2Fscraping_wilayah_pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mocfaisal%2Fscraping_wilayah_pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mocfaisal","download_url":"https://codeload.github.com/mocfaisal/scraping_wilayah_pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239861577,"owners_count":19709242,"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":["csv","kemendagri","mysql","node","nodejs","wilayah","wilayah-indonesia"],"created_at":"2024-11-08T07:52:44.156Z","updated_at":"2026-02-25T14:30:20.504Z","avatar_url":"https://github.com/mocfaisal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Scraping Region PDF\n\nScraping Region from PDF with node.js\n\n## Features\n\nExport to\n\n- CSV file\n- Direct insert into MySQL database\n\n## Installation\n\nClone the project\n\n```bash\n  git clone https://github.com/mocfaisal/scraping_wilayah_pdf.git\n```\n\nGo to the project directory\n\n```bash\n  cd scraping_wilayah_pdf\n```\n\nCopy `.env` file\n\n```bash\n  cp .env.example .env\n```\n\n### Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n```bash\nDB_USER=YOUR_DB_USERNAME\nDB_PASSWORD=YOUR_DB_PASSWORD\nDB_NAME=YOUR_DB_DATABASE\nDB_TABLE=YOUR_DB_TABLE\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the project\n\n```bash\n  npm run test\n```\n\n## Note\n\n- [Raw.pdf](/src/raw.pdf) is an extracted version of the original file, only pages with tables are used\n- Please check folder `dist` is exists, if there's some error.\n\n## Related\n\nHere are some related projects\n\n[Scraping Permendagri 72/2019 - Python](https://github.com/kodewilayah/permendagri-72-2019)\n\n# Known Bugs\n- [x] Kurang 1 Kabupaten/Kota - Fixed\n- [x] Jumlah Kelurahan/Desa tidak sama (83.749) seharusnya (83.763), kurang 14 data desa provinsi Papua\n\n## Changelog\n\n- [x] 2024-06-06 | v1.0 | Scrapping Data | Data Wilayah Kemendagri - Kepmen 100.1.1-6117 Tahun 2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSalzBytes%2Fscraping_wilayah_pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSalzBytes%2Fscraping_wilayah_pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSalzBytes%2Fscraping_wilayah_pdf/lists"}