{"id":21905043,"url":"https://github.com/textcorpuslabs/njgovnews","last_synced_at":"2025-03-22T07:14:55.407Z","repository":{"id":174805650,"uuid":"463239802","full_name":"TextCorpusLabs/NJGovNews","owner":"TextCorpusLabs","description":"Web scraping of the New Jersey news feeds","archived":false,"fork":false,"pushed_at":"2022-03-10T22:43:19.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T07:27:29.305Z","etag":null,"topics":["newsfeed","python3","text-corpus"],"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/TextCorpusLabs.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-24T17:28:01.000Z","updated_at":"2022-02-24T18:02:21.000Z","dependencies_parsed_at":"2023-08-31T05:49:46.261Z","dependency_job_id":null,"html_url":"https://github.com/TextCorpusLabs/NJGovNews","commit_stats":null,"previous_names":["textcorpuslabs/njgovnews"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TextCorpusLabs%2FNJGovNews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TextCorpusLabs%2FNJGovNews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TextCorpusLabs%2FNJGovNews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TextCorpusLabs%2FNJGovNews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TextCorpusLabs","download_url":"https://codeload.github.com/TextCorpusLabs/NJGovNews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918709,"owners_count":20531686,"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":["newsfeed","python3","text-corpus"],"created_at":"2024-11-28T16:20:26.977Z","updated_at":"2025-03-22T07:14:55.390Z","avatar_url":"https://github.com/TextCorpusLabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New Jersey Government News\n\n![Python](https://img.shields.io/badge/python-3.x-blue.svg)\n![MIT license](https://img.shields.io/badge/License-MIT-green.svg)\n\nScrape news feeds from the New Jersey government\n\n# Punch List\n\nKnown bugs befor v1.0\n\n- [ ] GitHub Install\n- [ ] Encoding\n\n# Operation\n\n## Install\n\nYou can install the package using the following steps:\n\n1. `pip` install using an _admin_ prompt\n   ```{ps1}\n   pip uninstall NJGovNews\n   pip install -v git+https://github.com/TextCorpusLabs/NJGovNews.git\n   ```\n\n## Run\n\nYou can run the package as follows:\n\n```{ps1}\n NJGovNews SITE -out FILE_OUT\n```\n\nThe scraper currently supports the following `SITE`s:\n\n1. The [Department of the Treasury](https://nj.gov/treasury).\n   I.E. ` NJGovNews treasury -out \"c:/data/news/nj_treasury.csv\"`\n\n## Cache\n\nThis scraper uses `requests-cache` to improve performance.\nIf you want to _force_ a full reload of all the data, delete the file called 'SITE.cache.sqlite'.\nIt will be in the same folder as the _.csv_ the scraper created.\n\n# Development\n\n## Prerequisites\n\nYou can install the package _for development_ using the following steps:\n\n**Note**: You can replace steps 1-3 using the [VSCode](https://code.visualstudio.com/Download) Git:Clone command\n\n1. Download the project from [GitHub](https://github.com/TextCorpusLabs/NJGovNews)\n   * Click the green \"Code\" button on the right.\n     Select \"Download Zip\"\n2. Remove zip protections by right-clicking on the file, selecting properties, and checking \"security: unblock\"\n3. Unzip the folder.\n   I recommend using the folder _c:/repos/TextCorpusLabs/NJGovNews_\n4. Run `pip`'s edit install using an _admin_ prompt\n   ```{ps1}   \n   pip uninstall NJGovNews\n   pip install -v -e c:/repos/TextCorpusLabs/NJGovNews\n   ```\n5. Install the `nltk` add-ons using an _admin_ prompt\n   ```{ps1}   \n   python -c \"import nltk;nltk.download('punkt')\"\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextcorpuslabs%2Fnjgovnews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextcorpuslabs%2Fnjgovnews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextcorpuslabs%2Fnjgovnews/lists"}