Shadorlo
(Shadorlo)
1
Hello, I am looking to recover an energy value on an EDF ENR panel
Link to the login page : https://espaceclient.edfenr.com/
Source code of the text I want to retrieve :
<div class="truncate text-sm font-bold leading-4 mb-px">--</div>
Photo du panel
(It’s marked “–” because it’s 00h00 and therefore no sun hihi)
For information when I enter my login I am directly redigirated on the right page to see the consumption
Hellis81
(Hellis81)
2
I’m pretty sure there is JavaScript on that page. Meaning it won’t work.
But is this the same?
Console API — Open Data EDF Corse
Shadorlo
(Shadorlo)
3
It’s not the same thing from what I see
Shadorlo
(Shadorlo)
4
How can I know if there is java-script even if I see it?
Hellis81
(Hellis81)
5
All the files you posted in that image that ends with .js
is javascript.
And you can probably find it in the head of the html.
Shadorlo
(Shadorlo)
7
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Espace client</title>
<script type="module" crossorigin src="/assets/index.644df93e.js"></script>
<link rel="stylesheet" href="/assets/index.12ae6a1b.css">
<link rel="manifest" href="/manifest.webmanifest"><script src="/registerSW.js"></script></head>
<body>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5ZZK9H" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<div id="app"></div>
<div id="tp-layer"></div>
</body>
</html>