
Tripadvisor Scraper
Pricing
$3.00 / 1,000 results

Tripadvisor Scraper
This unofficial Tripadvisor API is a data extraction tool able to get data on hotels, restaurants, things to do, vacation rentals, attractions, tours, and public trips. Get pricing, contact details, amenities, awards, ratings, and more. Download your data in Excel, JSON, CSV, and other formats.
4.8 (9)
Pricing
$3.00 / 1,000 results
120
Total users
9.3k
Monthly users
975
Runs succeeded
>99%
Issues response
1.2 days
Last modified
16 days ago
Null fields
Closed
Is it possible to esclude "null" fields from scraping? Example, if email field is empty do not fetch that record. Thanks.

Hi Pasquale,
thanks a lot for opening this issue! No, this is not directly possible in this Actor alone.
We want to keep the null
fields in the output to better let users understand what the Actor should return. It also keeps the output constant and not changing constantly.
Solution for you
If you wish to have the null
fields removed, you can use an utility Actor like the Merge, Dedup & Transform Datasets to modify the finished dataset.
In the dataset transform function paste in this code to remove the null
fields:
(items) => {return JSON.parse(JSON.stringify(items), (key, value) => {if (value == null) return undefined;return value;});};
You can also connect the Actors together via an Actor to Actor integration ;)
I hope this helps, happy scraping!