(P3134)
English
TripAdvisor ID
identifier of a place (region, hotel, restaurant, attraction), in TripAdvisor
- Trip Advisor ID
Data type
External identifier
Statements
Key:contact:tripadvisor
0 references
The ID is from the URL of a place's page, specifically the digits following the "-d" if the page has one, or following the "-g" if not. Examples where Xs are digits: gXXX-dXXX or Tourism-gXXX. (English)
0 references
L'identifiant provient de l'URL de la page d'un lieu, en particulier les chiffres suivant le "-d" si la page en a un, ou suivant le "-g" sinon. Exemples où les X sont des chiffres: gXXX-dXXX ou Tourism-gXXX. (French)
0 references
L'ID di un'attrazione è contenuto nell'URL, in dettaglio sono le cifre che seguono il "-d" se sono presenti, altrimenti le cifre che seguono "-g". Un paio di esempi sono le X in: gXXX-dXXX oppure Tourism-gXXX. (Italian)
0 references
Die ID stammt aus der URL der Seite eines Ortes, genauer aus den Ziffern nach dem „-d“, wenn dieses vorhanden ist, oder nach dem „-g“, wenn nicht. Beispiele, bei denen Xs Ziffern sind: gXXX-dXXX oder Tourism-gXXX. (German)
0 references
^https?:\/\/(?:www\.)?tripadvisor\.[a-z-]+\/[\w-]+(?:d|g)(\d+)
^(.+) \([^\)]+\) - All You Need to Know BEFORE You Go$
0 references
^https?:\/\/(?:www\.)?tripadvisor\.[a-z-]+\/(\d+)
0 references
^https?:\/\/(?:www\.)?tripadvisor\.(?:[a-z-.]+)\/[\w-]+(?:[dg])(\d+)
The g-# is the town/city; the second d-# is the property ID (English)
https://www.tripadvisor.com/Search?q=$1&searchNearby=false
0 references
Constraints
0 references
0 references