It is currently October 13th, 2024, 8:44 am

Football (soccer...) skin

Get help with creating, editing & fixing problems with skins
User avatar
Chiripa
Posts: 12
Joined: March 23rd, 2021, 3:49 pm

Re: Football (soccer...) skin

Post by Chiripa »

Yincognito wrote: April 11th, 2021, 7:53 pm Nice, I see development in your skin as well (the fixtures part, the qualification colors, and so on). :thumbup: Just curious, how are you displaying the matches just for a certain day? Is the site doing the filtering through the URL parameters or you're doing that filtering in PHP or otherwise? My idea in the related skin was to just display the whole 380 fixtures in a taller panel/skin toggled by pushing a button in the main table skin, and let the user move through that list at will, wherever he wants. Also, where do you get the minutes in the game? The links you provided don't show such fields...

EDIT: Maybe you're just subtracting the match starting time from the now time? But for that you'd have to take into account the half break.
https://www.fotmob.com/matches?date=20210410 (yesterday)
https://www.fotmob.com/matches?date=20210411 (today)
https://www.fotmob.com/matches?date=20210412 (tomorrow)

If I use PHP to be able to go through the matches and sort them by date and create .inc that the rainmenter can read easily. That link is the one that is updated every 15 or 30 seconds, I don't remember, it also shows the time and the rest and brings all the leagues in one but only the day, to show you another day you would have to change the date, which It is what I have had a problem with in the rainmeter that was the help I asked for at the beginning
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Football (soccer...) skin

Post by Yincognito »

Chiripa wrote: April 11th, 2021, 9:02 pm https://www.fotmob.com/matches?date=20210410 (yesterday)
https://www.fotmob.com/matches?date=20210411 (today)
https://www.fotmob.com/matches?date=20210412 (tomorrow)

If I use PHP to be able to go through the matches and sort them by date and create .inc that the rainmenter can read easily. That link is the one that is updated every 15 or 30 seconds, I don't remember, it also shows the time and the rest and brings all the leagues in one but only the day, to show you another day you would have to change the date, which It is what I have had a problem with in the rainmeter that was the help I asked for at the beginning
Yeah, it looks like you must poll / interrogate the site again, asking for data about the day you want to "jump" to. That's why I thought that getting all the fixtures from a league (that you can find in the league overview page anyway) in a single request and then filtering or sorting things further is a good option. From what it looks like, what's shown in the Matches page and in the fixtures of the League page is the same when it comes to matches, the only difference is that for the former, FotMob provides all the matches in every league for that date, as opposed to the latter providing all the matches from a specific league for the whole season. In other words, the data is the same, it's only a question of FotMob filtering.

By the way, the site works with other parameters too:
- the time parameter (for example, 21:15:00 of today), although I'm not sure what it shows or whether it's actually valid, but it gives no error:
https://www.fotmob.com/matches?time=211500
- match details, like this (WBA vs Southampton in the EPL shown):
https://www.fotmob.com/matchDetails?matchId=3411657
- team details, like this (Real Madrid shown):
https://www.fotmob.com/teams?id=8633&tab=overview&type=team
- player details, like this (Lionel Messi shown):
https://www.fotmob.com/playerData?id=30981

Others wrote scripts dealing with FotMob as well:
https://github.com/thejosejorge/futcal-for-scriptable
https://github.com/bgrnwd/fotmob

Last but not the least, you said there is no app for PC for FotMob, but according to this page, it is and it's free. It says it can be downloaded from Microsoft Store.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Chiripa
Posts: 12
Joined: March 23rd, 2021, 3:49 pm

Re: Football (soccer...) skin

Post by Chiripa »

Yincognito wrote: April 11th, 2021, 10:38 pm Yeah, it looks like you must poll / interrogate the site again, asking for data about the day you want to "jump" to. That's why I thought that getting all the fixtures from a league (that you can find in the league overview page anyway) in a single request and then filtering or sorting things further is a good option. From what it looks like, what's shown in the Matches page and in the fixtures of the League page is the same when it comes to matches, the only difference is that for the former, FotMob provides all the matches in every league for that date, as opposed to the latter providing all the matches from a specific league for the whole season. In other words, the data is the same, it's only a question of FotMob filtering.

By the way, the site works with other parameters too:
- the time parameter (for example, 21:15:00 of today), although I'm not sure what it shows or whether it's actually valid, but it gives no error:
https://www.fotmob.com/matches?time=211500
- match details, like this (WBA vs Southampton in the EPL shown):
https://www.fotmob.com/matchDetails?matchId=3411657
- team details, like this (Real Madrid shown):
https://www.fotmob.com/teams?id=8633&tab=overview&type=team
- player details, like this (Lionel Messi shown):
https://www.fotmob.com/playerData?id=30981

Others wrote scripts dealing with FotMob as well:
https://github.com/thejosejorge/futcal-for-scriptable
https://github.com/bgrnwd/fotmob

Last but not the least, you said there is no app for PC for FotMob, but according to this page, it is and it's free. It says it can be downloaded from Microsoft Store.
mmmm not bad, but as it lacks a lot! well I really meant that there was no good one, nor did I remember the microsoft store! Regarding the dates I remember that I brought them by doing a tour with a for in php but it takes a long time apart I don't know how often I had to do that tour because I did it but then if a match suspension comes out, you do not see it until the day when arrives, that happened to me with the one I did. the truth is very complicated

From what you see it works but does not influence what it shows, it still shows the events of the day at the time of the request
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Football (soccer...) skin

Post by Yincognito »

Chiripa wrote: April 11th, 2021, 10:51 pm mmmm not bad, but as it lacks a lot! well I really meant that there was no good one, nor did I remember the microsoft store! Regarding the dates I remember that I brought them by doing a tour with a for in php but it takes a long time apart I don't know how often I had to do that tour because I did it but then if a match suspension comes out, you do not see it until the day when arrives, that happened to me with the one I did. the truth is very complicated
Yeah, well, the amount of data is huge, so it's not going to be simple. :confused:
Seeing how they have various sections they can provide (like leagues, teams, fixtures, matches, players, match details, and so on) makes me rethink a bit my approach as well, and I'm even thinking if it is worth trying to make such a skin, considering that one could make a 20 lines skin to open up livescore.com in the browser and have most of the same stuff displayed too. Thing is with me is that once I take on a challenge, it's very hard for me to stop - it keeps occupying my mind and obsessing me until it's done, hahaha!
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Chiripa
Posts: 12
Joined: March 23rd, 2021, 3:49 pm

Re: Football (soccer...) skin

Post by Chiripa »

Yincognito wrote: April 11th, 2021, 11:04 pm Yeah, well, the amount of data is huge, so it's not going to be simple. :confused:
Seeing how they have various sections they can provide (like leagues, teams, fixtures, matches, players, match details, and so on) makes me rethink a bit my approach as well, and I'm even thinking if it is worth trying to make such a skin, considering that one could make a 20 lines skin to open up livescore.com in the browser and have most of the same stuff displayed too. Thing is with me is that once I take on a challenge, it's very hard for me to stop - it keeps occupying my mind and obsessing me until it's done, hahaha!
if you are right it is very huge so I use php to shorten the code and make it almost alone. And I am also like that I think about doing something and I give it and I give it but the bad thing is that I never finish it!
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Football (soccer...) skin

Post by Yincognito »

Chiripa wrote: April 12th, 2021, 1:46 am if you are right it is very huge so I use php to shorten the code and make it almost alone. And I am also like that I think about doing something and I give it and I give it but the bad thing is that I never finish it!
Yes, it's huge, but not as huge as I thought - they don't have all the leagues, at least for the league ID interval I checked out (i.e. from 30 to 87), using my not complete, but functionally iterative skin, that can navigate through leagues using the arrows above:
Less Teams.jpg
Football Super Lig Turkey.jpg
Football England Championship.jpg
As you can see, the skin adapts to the number of teams in the league, is completely configurable (you can change its dimensions, limit the table to just a part of the skin using the margins, increase or reduce the space between elements, eliminate a column, or press any element in the skin and it will animate, although there currently isn't any function assigned to those actions, other than the arrows at the top) and it looks similar to yours.

While navigating through the leagues for the first time, I naturally noticed that some things don't quite work as intended for the moment. For example, some "leagues" actually contain multiple "sub-leagues", like the international ones, where groups (e.g. A, B, C, etc.) are stored as "leagues" in the JSON, so it looks like I'll have to create another two, smaller arrows below, to navigate the groups of an international tournament. In one or two cases the regex "failed" and I got a long text in the title, probably because the global pattern needs a little refinement for these fringe cases, nothing catastrophic though. There is also a known bug where Rainmeter crashes after a random number of refreshes of the skin, but I got an idea about where the culprit might be, and I'll probably address it someday.

Obviously, I didn't get yet to the fixtures - I didn't push too hard on it and I first wanted to make sure the table(s) work fine. I'm happy with the progress so far, and the rest isn't much different from what it has already been done, it's just a matter of slightly different regexes and other iterations and panels. I'll probably take it even easier from now on, it's not like I want to make a full fledged skin out of it and release it, it's more like an exercise to see what can come out of it, but I wanted to show you the result so far.

If anyone is interested...

Variables.inc, placed in @Resources folder of the skin:

Code: Select all

[Variables]
; League Overview Site
LeagueOverviewSite=https://www.fotmob.com/leagues?id=[#LeagueID]&tab=overview&type=league
; League ID; MinLeagueID, MaxLeagueID
LeagueID=87
MinLeagueID=0
MaxLeagueID=100
; Various Patterns
TrimUnwanted='(?:^\s*[#"\[]|[\]"]\s*$)':""
Cleaner="(?:^[^[\x200B]].*|.*[^[\x200B]]$)":"","(?:^[\x200B]|[\x200B]$)":"","(?:^\\\d+|\\\d+$)":""
; Level 4 Patterns
RankData=(?siU)^.*"title":(.*),"color":(.*),"indices":(\[.*\])(?:,.*$|$)
TeamData=(?siU)^.*"qualColor":(.*),"idx":(.*),"name":(.*),"id":(.*),"pageUrl":(.*),"played":(.*),"wins":(.*),"draws":(.*),"losses":(.*),"scoresStr":(.*),"goalConDiff":(.*),"pts":(.*),"deduction":(.*)(?:,.*$|$)
; Level 3 Patterns
Item=(?(?=.*\{).*\{(.*)\})
; Level 2 Patterns
Legend=(?siU)^.*#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#.*$
Table=(?siU)^.*#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#.*$
; Level 1 Patterns
Fixtures=(?(?=.*"fixtures":\[\{).*"fixtures":\[\{(.*)\}\])
News=(?(?=.*"news":\[\{).*"news":\[(\{.*\})\])
TableData=(?(?=.*"tableData":\{).*"tableData":\{.*"tables":\[\{.*"legend":\[(\{.*\})\].*"table":\[(\{.*\})\].*\}\})
TopPlayers=(?(?=.*"topPlayers":\{).*"topPlayers":\{([^\{\[\]\}]*\[.*\][^\{\[\]\}]*)\})
; Football Pattern
LeagueOverview=(?siU)^.*\{.*"details":\{.*"id":(.*),.*"name":(.*),.*"country":(.*)\}#Fixtures##News##TableData##TopPlayers#.*\}.*$
; Visual Configuration (BW, BH = Background Width, Height; SW = Stroke Width; CR = Corner Radius; TH, HH = Title, Header Height; Col..Chr = Chars Per Column)
BW=600
BH=600
SW=4
CR=32
TH=32
HH=32
Padding=2
LMargin=16
TMargin=16
RMargin=16
BMargin=16
HoverScale=1.15
Col01Chr=4
Col02Chr=4
Col03Chr=22
Col04Chr=4
Col05Chr=4
Col06Chr=4
Col07Chr=4
Col08Chr=11
Col09Chr=6
Col10Chr=5
Col11Chr=5
RowChars=(#Col01Chr#+#Col02Chr#+#Col03Chr#+#Col04Chr#+#Col05Chr#+#Col06Chr#+#Col07Chr#+#Col08Chr#+#Col09Chr#+#Col10Chr#+#Col11Chr#)
RowCount=0
TextSize=10
TextFace=Comic Sans MS
ArrowFactor=1.8
TitleFactor=1.2
BackColor=0,0,0,128
PushColor=108,108,108,128
StroColor=128,128,128,192
TextColor=255,255,255,255
EffeColor=0,0,0,255
HexaAlpha=44
ArrowHoverColor=255,128,0,255
ArrowPressColor=255,96,0,255
Football.ini, placed in the skin folder:
Football.rar
You do not have the required permissions to view the files attached to this post.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Chiripa
Posts: 12
Joined: March 23rd, 2021, 3:49 pm

Re: Football (soccer...) skin

Post by Chiripa »

Yincognito wrote: April 14th, 2021, 11:42 pm Yes, it's huge, but not as huge as I thought - they don't have all the leagues, at least for the league ID interval I checked out (i.e. from 30 to 87), using my not complete, but functionally iterative skin, that can navigate through leagues using the arrows above:
Less Teams.jpg
Football Super Lig Turkey.jpg
Football England Championship.jpg
As you can see, the skin adapts to the number of teams in the league, is completely configurable (you can change its dimensions, limit the table to just a part of the skin using the margins, increase or reduce the space between elements, eliminate a column, or press any element in the skin and it will animate, although there currently isn't any function assigned to those actions, other than the arrows at the top) and it looks similar to yours.

While navigating through the leagues for the first time, I naturally noticed that some things don't quite work as intended for the moment. For example, some "leagues" actually contain multiple "sub-leagues", like the international ones, where groups (e.g. A, B, C, etc.) are stored as "leagues" in the JSON, so it looks like I'll have to create another two, smaller arrows below, to navigate the groups of an international tournament. In one or two cases the regex "failed" and I got a long text in the title, probably because the global pattern needs a little refinement for these fringe cases, nothing catastrophic though. There is also a known bug where Rainmeter crashes after a random number of refreshes of the skin, but I got an idea about where the culprit might be, and I'll probably address it someday.

Obviously, I didn't get yet to the fixtures - I didn't push too hard on it and I first wanted to make sure the table(s) work fine. I'm happy with the progress so far, and the rest isn't much different from what it has already been done, it's just a matter of slightly different regexes and other iterations and panels. I'll probably take it even easier from now on, it's not like I want to make a full fledged skin out of it and release it, it's more like an exercise to see what can come out of it, but I wanted to show you the result so far.

If anyone is interested...

Variables.inc, placed in @Resources folder of the skin:

Code: Select all

[Variables]
; League Overview Site
LeagueOverviewSite=https://www.fotmob.com/leagues?id=[#LeagueID]&tab=overview&type=league
; League ID; MinLeagueID, MaxLeagueID
LeagueID=87
MinLeagueID=0
MaxLeagueID=100
; Various Patterns
TrimUnwanted='(?:^\s*[#"\[]|[\]"]\s*$)':""
Cleaner="(?:^[^[\x200B]].*|.*[^[\x200B]]$)":"","(?:^[\x200B]|[\x200B]$)":"","(?:^\\\d+|\\\d+$)":""
; Level 4 Patterns
RankData=(?siU)^.*"title":(.*),"color":(.*),"indices":(\[.*\])(?:,.*$|$)
TeamData=(?siU)^.*"qualColor":(.*),"idx":(.*),"name":(.*),"id":(.*),"pageUrl":(.*),"played":(.*),"wins":(.*),"draws":(.*),"losses":(.*),"scoresStr":(.*),"goalConDiff":(.*),"pts":(.*),"deduction":(.*)(?:,.*$|$)
; Level 3 Patterns
Item=(?(?=.*\{).*\{(.*)\})
; Level 2 Patterns
Legend=(?siU)^.*#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#.*$
Table=(?siU)^.*#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#.*$
; Level 1 Patterns
Fixtures=(?(?=.*"fixtures":\[\{).*"fixtures":\[\{(.*)\}\])
News=(?(?=.*"news":\[\{).*"news":\[(\{.*\})\])
TableData=(?(?=.*"tableData":\{).*"tableData":\{.*"tables":\[\{.*"legend":\[(\{.*\})\].*"table":\[(\{.*\})\].*\}\})
TopPlayers=(?(?=.*"topPlayers":\{).*"topPlayers":\{([^\{\[\]\}]*\[.*\][^\{\[\]\}]*)\})
; Football Pattern
LeagueOverview=(?siU)^.*\{.*"details":\{.*"id":(.*),.*"name":(.*),.*"country":(.*)\}#Fixtures##News##TableData##TopPlayers#.*\}.*$
; Visual Configuration (BW, BH = Background Width, Height; SW = Stroke Width; CR = Corner Radius; TH, HH = Title, Header Height; Col..Chr = Chars Per Column)
BW=600
BH=600
SW=4
CR=32
TH=32
HH=32
Padding=2
LMargin=16
TMargin=16
RMargin=16
BMargin=16
HoverScale=1.15
Col01Chr=4
Col02Chr=4
Col03Chr=22
Col04Chr=4
Col05Chr=4
Col06Chr=4
Col07Chr=4
Col08Chr=11
Col09Chr=6
Col10Chr=5
Col11Chr=5
RowChars=(#Col01Chr#+#Col02Chr#+#Col03Chr#+#Col04Chr#+#Col05Chr#+#Col06Chr#+#Col07Chr#+#Col08Chr#+#Col09Chr#+#Col10Chr#+#Col11Chr#)
RowCount=0
TextSize=10
TextFace=Comic Sans MS
ArrowFactor=1.8
TitleFactor=1.2
BackColor=0,0,0,128
PushColor=108,108,108,128
StroColor=128,128,128,192
TextColor=255,255,255,255
EffeColor=0,0,0,255
HexaAlpha=44
ArrowHoverColor=255,128,0,255
ArrowPressColor=255,96,0,255
Football.ini, placed in the skin folder:
Football.rar
you smoked one !!! Thats very good!!! in case it works for you. the link of the champions https://www.fotmob.com/leagues?id=42&tab=overview&type=league&timeZone=America%2FCaracas&seo=champions-league

I already solved the problem of the dates and the update left the file in case anyone is interested

Code: Select all

[Rainmeter]
Update=1000
dynamicwindowsize=1
AccurateText=1

[MeterBackground2]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,(230*2.05),(#piso#),(10) | Fill Color 0,0,0,120 | Stroke Color 150,150,150,150 | StrokeWidth 4
InlineSetting=Shadow | 2 | 2 | 3.5 | 0,0,0,255

[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,(230*2.05),(#piso#),(10) | Fill Color 0,0,0,120 | Stroke Color 150,150,150,150 | StrokeWidth 4
InlineSetting=Shadow | 2 | 2 | 3.5 | 0,0,0,255

[msdayscalc]
measure=calc
Formula=#days# * 86400
DynamicVariables=1

[Measuremenos]
Measure=Calc
Formula=(#fecha# <= 20200919 ? #days# : #days# - 1)

[Measuremas]
Measure=Calc
Formula=(#fecha# >= 20210523 ? #days# : #days# + 1)

[Meterback]
Meter=Button
ButtonImage=#@#back.png
W=40
H=40
X=40
Y=25
LeftMouseDownAction=[!WriteKeyValue Variables days [Measuremenos]][!Refresh]
LeftMouseUpAction=[!WriteKeyValue Variables fecha [result]][!WriteKeyValue Variables fecha [result] #SKINSPATH#futbol\update\Update.ini][!Refresh]

[Meterforward]
Meter=Button
ButtonImage=#@#forward.png
W=40
H=40
X=385
Y=25
LeftMouseDownAction=[!WriteKeyValue Variables days [Measuremas]][!Refresh]
LeftMouseUpAction=[!WriteKeyValue Variables fecha [result]][!WriteKeyValue Variables fecha [result] #SKINSPATH#futbol\update\Update.ini][!Refresh]

[Today]
Measure=Time
DynamicVariables=1

[Result]
Measure=Time
Format=%Y%m%d
Timestamp=([Today:]#signal#[msdayscalc:])
IfMatch=#days# = Days
;IfMatchAction4=[!SetVariable days 0]
DynamicVariables=1

[Variables]
primaryId=55
days=-11
signal=+
TimeBuffer=4
fecha=20210404
@include=#SKINSPATH#Futbol\update\DownloadFile\#primaryId#\#fecha#.inc

[style1]
AntiAlias=1
FontColor=#BitstampColor#
FontSize=12
FontFace=Comic Sans MS Negrita
StringStyle=BOLD
StringAlign=Right
X=165

[style2]
AntiAlias=1
FontColor=#BitstampColor#
FontSize=12
FontFace=Comic Sans MS Negrita
StringStyle=BOLD
StringAlign=Left
x=295

[style3]
AntiAlias=1
FontColor=#BitstampColor#
FontSize=12
FontFace=Comic Sans MS Negrita
StringStyle=BOLD
StringAlign=Center
X=230

###################################################################
[Logoleague]
Meter=Button
ButtonImage=#@##primaryId#button.png
W=10
H=10
X=100
Y=15
LeftMouseDownAction=;LeftMouseDownAction=[!SetVariableGroup Hidden "0" group20210407][!Refresh]

[Leaguedate]
Meter=String
MeterStyle=style3
DynamicVariables=1
;measurename=result
Text=Jornada   #fecha#
FontSize=12
W=12
H=12
X=250
Y=37

[MeasureDeactivate]
Measure=Calc
Formula=MeasureDeactivate+1
IfEqualValue=#TimeBuffer#
IfEqualAction=[!Refresh]
Disabled=0
DynamicVariables=1
by the way, I copied your ear shape I liked it a lot hehe

Image

later I will continue making updates to improve it, I will see if I upload the php to a server and so whoever wants to take the data
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Football (soccer...) skin

Post by Yincognito »

Chiripa wrote: April 15th, 2021, 7:14 pmyou smoked one !!! Thats very good!!!
Thanks, but nah, it's not that good yet, yours is better, as it's more complete (I started later, so I don't have the fixtures done yet, and the table needs further adjustments too). :thumbup:
Thanks, but what is the "seo=..." parameter? What does it mean? Can it be used in other cases?
Chiripa wrote: April 15th, 2021, 7:14 pmI already solved the problem of the dates and the update left the file in case anyone is interested
Good solution indeed. :great: Sorry for not providing it to you earlier, I thought you meant in relation to PHP and the data you got from there, I didn't realize you wanted help on a purely Rainmeter issue. The way you navigate the dates is roughly similar to the way I navigate the leagues (i.e. -1 and +1 added to the parameter, and then passed to the system that gets the data from the site), by the way, so you can probably implement that as well, if you want.
Chiripa wrote: April 15th, 2021, 7:14 pmby the way, I copied your ear shape I liked it a lot hehe
Excellent! 8-) I liked it too, that's why I made it. :lol:
P.S. I like your buttons too, but for me it's simpler to just use Unicode characters.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Chiripa
Posts: 12
Joined: March 23rd, 2021, 3:49 pm

Re: Piel de fútbol (fútbol...)

Post by Chiripa »

799 / 5000
Resultados de traducción
I answer you outside so as not to lengthen the thread.

I don't really know what seo is for, but you can try removing it, I think it works that way too, if I tell you when I started, you'll go crazy! in relation to time you have done much more than me a thousand times

https://www.fotmob.com/leagues?id=42&tab=overview&type=league
This is the shortest that the link works although it would be good
add the time zone

+ 1 or -1 to change league? mmm I'm going to think about it, what happens is that I have separated the updates of the tables and the matches, because that way the webparser does not get stuck when it interacts with the table or the matches, but I'll see if I do something for that, So that it works for everyone, if fotmob finds out what we are doing it hangs up on us haha. I hope my translation is understood
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Piel de fútbol (fútbol...)

Post by Yincognito »

Chiripa wrote: April 15th, 2021, 8:11 pm+ 1 or -1 to change league? mmm I'm going to think about it, what happens is that I have separated the updates of the tables and the matches, because that way the webparser does not get stuck when it interacts with the table or the matches, but I'll see if I do something for that, So that it works for everyone, if fotmob finds out what we are doing it hangs up on us haha. I hope my translation is understood
Yeah, but the separation doesn't negatively anything - I actually thought of doing the same, when (and if) it will be the case. For my case, I thought of doing the matches panel either as a separate skin that I can show or hide when clicking a button in the main (i.e. table) skin, or as a colection of measures and meters that similarly get disabled/enabled or shown/hidden on a click of a button in the main skin or panel.

In other words, you can safely navigate throught the leagues by decreasing or increasing some #LeagueID# variable and then getting the https://www.fotmob.com/leagues?id=[#LeagueID]&tab=overview&type=league data, just make sure that when you push a button to do that, you "reset" the parameters/league for the matches skin/panel as well (you could probably let the date unchanged, I don't know).

Fotmob is doing the same on LiveScore (it gets its data from there), so it isn't much different from what we're doing to Fotmob, LOL. A parasite on the top of another parasite, on the top of another, and so on - that's the cycle of life, haha! Don't worry about the translation, personally I can understand basic Spanish (I watched a lot of Spanish football press conferences from the coaches there), the idea is for others on the forum to understand what we say so that they could, if necessary, use parts of our code to make their own personalized parsers ... or, in essence, understand the principles used for that so they can apply in their own cases.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth