From c7e4dbf3efcfcc798331ed7cd1b86aba5ded6f55 Mon Sep 17 00:00:00 2001 From: Julius Freudenberger Date: Mon, 1 May 2023 12:25:57 +0200 Subject: [PATCH 1/3] Add requirements.txt --- requirements.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0b8861d --- /dev/null +++ b/requirements.txt @@ -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 From feb8a7f57bdc95c1972b124be24bb29b2f86ab39 Mon Sep 17 00:00:00 2001 From: Julius Freudenberger Date: Mon, 1 May 2023 12:28:39 +0200 Subject: [PATCH 2/3] Add README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1d415c3 --- /dev/null +++ b/README.md @@ -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. From e811b4c5a81a089914d7b94f368cae347d596e60 Mon Sep 17 00:00:00 2001 From: Julius Freudenberger Date: Mon, 1 May 2023 12:30:48 +0200 Subject: [PATCH 3/3] Add MIT license --- LICENSE | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b46c098 --- /dev/null +++ b/LICENSE @@ -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. +