We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Parsing PHP / Javascript table

JS3000
5 - Atom

Hi guys,

 

I have some experience with parsing tables, but I run into trouble with this specific table (that feeds from a German official authority but only outputs in PDF): Umsatzsteuer-Umrechnungskurse 2022 (smart-rechner.de)

 

I made a little script but I got not further in parsing it... Probably you guys have some easy script to parse it out (and for myself to get some further experience)?

5 REPLIES 5
IraWatt
17 - Castor
17 - Castor

Hey @JS3000

If your just looking for the exchange rates the page uses this URL to get USD rates: https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=20220704 

JS3000
5 - Atom

Thanks for this link, how did you get it? I did not see it via Inspect Element.

IraWatt
17 - Castor
17 - Castor

@JS3000 I had a check of the network tab to see what information was being pulled externally:

IraWatt_1-1656933999175.png

Also had a look in the JS files:

IraWatt_0-1656933907427.png

 

JS3000
5 - Atom

Thanks! That table comes quite in handy, I'm specifically looking for the EUR > USD conversion, but the table you provided doesn't match the table in the site:

JS3000_0-1657011781990.png

 

So perhaps they're quering another database?

IraWatt
17 - Castor
17 - Castor

Hey @JS3000,

The data in the table is just static. Here is a workflow to get the data:

IraWatt_0-1657030738648.png

 

Labels
Top Solution Authors