R
R
riko52021-08-20 08:38:23
Parsing
riko5, 2021-08-20 08:38:23

How to decrypt data with flashscore?

I am writing a parser on flashscore, a problem arose, I just can’t figure out how to decrypt the data received as a result of parsing.
I get data from https://d.flashscore.ru/x/feed/dc_1_KffXK7Xq_ru_1
Output result:

DA÷3¬DZ÷3¬DB÷3¬DD÷1629378870¬AW÷1¬DC÷1629372300¬DS÷0¬DE÷0¬DF÷2¬DG÷0¬DH÷2¬DI÷-1¬DK÷1629378880¬DL÷3¬DM÷¬DT÷¬DX÷ST,MH,OD,HH,DR¬DEI÷https://www.flashscore.ru/res/image/data/ImC83FeM-KnuVvxEm-0Qn8buA2.png¬SE÷¬DR÷0¬DV÷2¬DJ÷A¬AZ÷2¬SC÷454¬SB÷3¬SD÷Winline.ru¬A1÷¬~

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PEREGINEC, 2021-08-22
@PEREGINEC

what x-sign are you using?

C
CharlieCheater, 2021-09-19
@CharlieCheater

Pretty easy to decipher. I checked, it's a tennis match.
DA - this is the status of the match (Beginning, 1 set, 2 set) In this case, the number 3 means that the match is over
DZ and DB - the same as DA , with slight differences (I never took them into account, ignored by the parser ), DA is responsible for the entire match as a whole, DB - for a specific set / period, DZ - I still don't understand why it is needed.
DD, DC, DK are dates in unix format. I know that DC is the beginning of a sporting event, DD is the latest changes (sort of like)
DE, DF are the scores of the first player and the second at the time of the game
DG, DH- the same thing, but this is the end result
. The rest, I think, you will figure it out yourself (or you won't need it)
I hope it's clear what's what.
And it should be borne in mind that you need to parse more than one file if you want to get complete data (set results, statistics, etc.), as well as others )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question