D
D
Darexu2017-08-07 02:07:15
JavaScript
Darexu, 2017-08-07 02:07:15

How to decode the response to a GET request for parsing?

Good time of the day! I'm trying to parse a page, I need a match schedule. In Html, the required data looks something like this

<div id="tournament-page-data-fixtures">SA÷1¬~ZA÷АНГЛИЯ: Премьер-лига¬ZEE÷dYlOSQOD¬ZB÷198¬ZY÷Англия¬ZC÷WOO1nDO2¬ZD÷t¬ZE÷UqQ8LECO¬ZF÷0¬ZO÷0¬ZG÷1¬ZH÷198_dYlOSQOD¬ZJ÷2¬ZL÷/football/england/premier-league/¬ZX÷00Англия006Англия0000000000169000Премьер-лига012р-лига000¬ZCC÷0¬ZAF÷Англия¬~AA÷61kBH8Mo¬AD÷1502477100¬ADE÷1502477100¬AB÷1¬CR÷1¬AC÷1¬CX÷Арсенал¬ER÷Тур 1¬RW÷0¬AX÷0¬BX÷-1¬WQ÷¬WM÷ARS¬AE÷Арсенал¬WU÷arsenal¬WN÷LEI¬AF÷Лестер¬WV÷leicester¬AW÷1¬AN÷n¬~AA÷AaZvBO5T¬AD÷1502537400¬ADE÷1502537400¬AB÷1¬CR÷1¬AC÷1¬CX÷WU÷watford¬AW÷1¬AN÷n¬~</div>

There is a button "Show more matches". When you click on it, a GET request is sent, the response is again the same text. Is it possible to decrypt?
www.myscore.com.ua/football/england/premier-league...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
artem78, 2017-08-07
@Darexu

Apparently, the decryption happens in the function parse():
The algorithm is not easy, it is better to use tools such as phantomjs or selenium.

B
blugamire, 2017-08-07
@blugamire

What's the problem?
Search for the place where this text is displayed.
And see how they decipher themselves.
They will decipher differently before displaying.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question