javascript - Getting news from the site -
Through the parts of the time required to obtain a reference for the first news on the site.
I'm developing through Python, Selenium. I tried different methods: and read HTML, and tried to get feedback from javascript, but nothing.
OK, trying different things to help solve your problem is. Finally I got an idea.
So basically you can not trust the static HTML that gives you access to that page. Therefore, by looking at the The final parameter This will return the following response: With this last response you can complete your required information. I have not given a real implementation, but keeping in mind that you have said that you have tried Python, I think it will be easier with your implementation here. Networks tab in my browser, I got two requests too much X seconds (it has not been noticed). So you can get your first information (calling this URL above the list):
http://mediametrics.ru/rating/ru/online.tsv?page=1& Update = 1401216280
update requires you to change the time when you request it is an era of time, Get the answer to the code> text / plain . Unfortunately, this is not your biggest feedback:
URL title visitors Delta shift id 819 1401216700 0 508 -7 088680394 247 4 88, 193830 137 0 -1 88777121 135 -3 1 88585317 110-3 - 5 12773355 Hot 92 0 887 724182 79 -2 88171489 76 1 88325612 59 -3 88362537 58 -2858585583 48 0 -1 88473319 47 0 -1 88782428 46 0 -31 88470684 Hot 2 45 - 5 1 88865695 44 1 - 1 88652852 44 2 -1 88679946 43 -1 2 88711744 40 1 88652022 38 1 88681949 37 0 -1 88359733 36 2 -2 88612187 35 1 -18 88671532 Hot 35 -2 88324438 34 1 8886 99 13 34 1 0 88586542 33 0 88509191 33 0 2 88717302 32 0 -20 88603116 Hot 31 -2 2 88176393 30 0 -30 88644435 Hot 2 29 1 0 88686770 28 -2 88213989 26 0 -1 88562683 24 -3 2 88634740 24 -12 88247749 Hot 24 0 88257193 24 0 88350559 21 -2 88682576 21 -4 8 8847895 19 0 -1 88864392 19 0 -1 88677033 19 0 -3 88850105 18 88658580 17 0 -3 8864 9 6565 17 1 -18 88578308 Hot 17 1 5 88326429 16 -1 88285506 16 -1 88603395 15 -2 4 88527942 15 2 -16 8819 9 416 Actually, from the second column, you want the fourth field (i.e.,
88680394 ). This will give you the site's own ID only to get the remaining information from "Site ID", you need to make another request on this page to specify your first "Site ID": < Pre>
http://mediametrics.ru/rating/index.tsv?titles=88680394
Russian .rt.com / article / 33873 Ð ?? поР»Ñ ?? ÐμÐ½Ñ ?? Ñ ?? Ð ?? Ð ?? Ð: Ð ?? нР° м Ð¿Ñ ?? ÐÑÑ Ð »Ð¾ Ð ± ол Ñ ?? Ñ ?? оÐμ поÐ'к ± ÐμпР»ÐμниÐμ 0 0 88680394 HOT
Comments
Post a Comment