Compare commits

...

3 commits

Author SHA1 Message Date
e811b4c5a8 Add MIT license 2023-05-01 12:30:48 +02:00
feb8a7f57b Add README 2023-05-01 12:28:39 +02:00
c7e4dbf3ef Add requirements.txt 2023-05-01 12:25:57 +02:00
3 changed files with 26 additions and 0 deletions

10
LICENSE Normal file
View file

@ -0,0 +1,10 @@
MIT License
Copyright (c) [2023] [Julius Freudenberger]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

9
README.md Normal file
View file

@ -0,0 +1,9 @@
# TripAdvisor Parser
Get reviews from attractions in TripAdvisor.
Requests all reviews in the currently selected language in TripAdvisor and exports them in a csv file.
To mitigate commas and quotation marks in the review texts, the columns in the csv are separated with `^`.
## Usage
1. Create a file in the PWD named `urls.txt`. Place one URL per line.
2. Start the program. You do not need to pass parameters.
3. Find the csv files in the `export/` directory.

7
requirements.txt Normal file
View file

@ -0,0 +1,7 @@
beautifulsoup4==4.12.2
certifi==2022.12.7
charset-normalizer==3.1.0
idna==3.4
requests==2.29.0
soupsieve==2.4.1
urllib3==1.26.15