It is currently March 28th, 2024, 11:18 pm

Webparser returns variables instead of html

Get help with installing and using Rainmeter.
Larre
Posts: 1
Joined: December 31st, 2017, 2:20 am

Webparser returns variables instead of html

Post by Larre »

HI everyone!

So I am trying to fetch artist and song title from http://retrosydvast.streamon.fm/ but the problem is that webparser doesnt fetch it as when i simply view page source. I'll show you a part of the source code

Via page source:

Code: Select all

span class="metadata-label">Nu spelas</span>
            <span><strong>Artist:</strong> Derek & The Dominos</span>
            <span><strong>Låttitel:</strong> Layla</span>
Via webparser:

Code: Select all

<div class="metadata-bd">
            <span class="metadata-label">Nu spelas</span>
            <span><%= artistlabel %><%= artistname %></span>
            <span><%= titlelabel %><%= titlename %></span>
so webparser fetches what seems to be variables instead of the outcome of these variables. Why is this? How can I solve it if it's even possible?

//Larre
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Webparser returns variables instead of html

Post by balala »

Larre wrote:so webparser fetches what seems to be variables instead of the outcome of these variables. Why is this?
Because it seems that the page uses some java scripts. But WebParser can't handle these scripts. That's why it can't read the artist and title.
Larre wrote:How can I solve it if it's even possible?
There is no good solution for a such problem.

Sorry...