Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qreolq/review-parser

This Java application is designed to parse and save viewer reviews for a movie from the Kinopoisk website.
https://github.com/qreolq/review-parser

java jsoup lombok opencsv

Last synced: about 1 month ago
JSON representation

This Java application is designed to parse and save viewer reviews for a movie from the Kinopoisk website.

Awesome Lists containing this project

README

        

# Review-parser

This Java application is designed to parse and save viewer reviews for a movie from the Kinopoisk website.
The application utilizes Jsoup for web scraping, and the parsed data is stored in CSV format using OpenCSV.

## Technologies
Java, Jsoup, Lombok, OpenCSV

## Usage
To run the application, provide the following command-line arguments:
```Bash
java -jar jar
```
* csvFilePath: The path where the CSV file will be saved.
* prePages: Number of reviews processe by one thread(50,100,200). Affects the number of threads created in the executor service

## Quick start
1. Clone this repo into folder.

```Bash
git clone https://github.com/qReolq/review-parser.git
cd review-parser\target
```
2 Then, run the Main class with the appropriate command-line arguments.
```Bash
java -jar .\target\ReviewParser-1.0-SNAPSHOT.jar \path\to\reviews.csv 100
```

## Examle
```Bash
java -jar .\target\ReviewParser-1.0-SNAPSHOT.jar C:\Users\admin\Desktop 100
```