Answer the question
In order to leave comments, you need to log in
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>
www.myscore.com.ua/football/england/premier-league...
Answer the question
In order to leave comments, you need to log in
Apparently, the decryption happens in the function parse()
:
The algorithm is not easy, it is better to use tools such as phantomjs or selenium.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question