How do I parse sites like this?

Asked 1 years ago, Updated 1 years ago, 57 views

https://finance.daum.net/exchanges

I'd like to parse the above site

The screen that comes out of the source view and the F12 press in Chrome is different, so I can't read the data in normal cases

When you read the data, you read the data when viewing the source.

There is no exchange rate information I want to parse here, so how can I parse in this case?

For your information, I'm going to use Java.

web parsing java

2022-09-22 16:44

1 Answers

GET /api/exchanges/summaries HTTP/1.1
Host: finance.daum.net
User-Agent: insomnia/6.6.2
referer: https://finance.daum.net/exchanges Accept: */*

URL: https://finance.daum.net/api/exchanges/summaries

If you add referrer: https://finance.daum.net/exchanges to the header and request, json data will be received


2022-09-22 16:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.