https://github.com/danielfillol/crawler_lawsuitsesaj
Crawler for lawsuit data in ESAJ systems
https://github.com/danielfillol/crawler_lawsuitsesaj
brasil crawler direito esaj law lawsuit tjsp
Last synced: 3 months ago
JSON representation
Crawler for lawsuit data in ESAJ systems
- Host: GitHub
- URL: https://github.com/danielfillol/crawler_lawsuitsesaj
- Owner: DanielFillol
- License: apache-2.0
- Created: 2022-05-28T13:52:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T17:39:15.000Z (over 2 years ago)
- Last Synced: 2026-01-14T12:28:03.896Z (5 months ago)
- Topics: brasil, crawler, direito, esaj, law, lawsuit, tjsp
- Language: Go
- Homepage:
- Size: 146 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crawler_LawsuitsESAJ
Project for crawlling lawsuit data avaliable in first and seccond degree of brazilian justice system.
Data Craw:
- capa (reference data of the lawsuit)
- partes (parties)
- advogados (lawyer's)
- movimentos (steps of the lawsuit)
CSV file is generate with collected data.
## Dependencies
- [Selenium](https://github.com/tebeka/selenium#readme)
- [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/)
- [Selenium-server-standalone](https://selenium-release.storage.googleapis.com/index.html?path=3.5/)
- [htmlquery](https://github.com/antchfx/htmlquery)
## Run
```brew install chrome driver ``` (not needed if you alredy have chrome driver)
```java -jar selenium-server-standalone.jar```
```go run main.go```
- To config a new search go in **crawler.go** file, function **DayCrawler** and alter the URL parameter on **driver.Get("")**
## Notes
- This crawler works for the following courts: ```tjac,tjal,tjam,tjce, tjms and tjsp```.
- Sometimes chromedriver need a clearnce in security options on MacOS.
- Don't forget to previus install Java.
## Future
Build a search function for every parameter allowed, exemple: name of people mentioned in the lawsuit.