Scrape: TR tag with dynamic ID

I would like to use Scrape for this website https://tiger.worldline.global/LEYTNMR/ciss where I just like to retrieve the first row of data/train information. The TR tag ID changes, of which I am simply trying to retrieve by “Nth” row instead. Using table > tbody > tr:nth-child(1) in Select of the UI

Spend over an hour trying to work this out, so feel slightly defeated. Any help will be much appreciated, thank you!

I would bet that page uses JavaScript to populate the values.
That can’t be scraped easily.

Found this though:
https://www.reddit.com/r/webdev/comments/1qe0en2/finding_api_backend_for_tigerworldlineglobal/

And this: (not sure it’s the same)

1 Like

Thanks for that, more research then :pray:t2:

You can get a json file with the data with:

curl 'https://tiger-api-portal.worldline.global/services/LEYTNMR' \
  -H 'accept: application/json' \
  -H 'accept-language: en-US,en;q=0.7' \
  -H 'access-control-allow-headers: Content-Type,Access-Control-Allow-Origin,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token' \
  -H 'access-control-allow-origin: *' \
  -H 'origin: https://tiger.worldline.global' \
  -H 'priority: u=1, i' \
  -H 'sec-ch-ua: "Not:A-Brand";v="99", "Brave";v="145", "Chromium";v="145"' \
  -H 'sec-ch-ua-mobile: ?1' \
  -H 'sec-ch-ua-platform: "Android"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-site' \
  -H 'sec-gpc: 1' \
  -H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Mobile Safari/537.36' \
  -H 'x-amz-date: 20260221T123704+0100' \
  -H 'x-api-key: JsfAqhmRuO88ndFxs6VG47Z5dXRB8YZB7Dy4xWXN'

(this is just the url from a browser dev tool)

You can use a REST sensor to extract the information you need.

1 Like