خرید بک لینک

Vote count: 0

I am parsing a web page: http://www.dn.se/nyhetsdygnet/ , at the bottom of each list of news there is a button to load more news article. When I press it the URL is changed to something like this http://www.dn.se/nyhetsdygnet/#getMoreArticles/2016-05-09/80 , and it loads more links(articles) in the list, my problem is that I have the code below, even if I give it the new link(with loaded more links) it doesnt recognize the newly loaded links , it prints only the ones that were available before pressing the load more button, here is my code:

Document doc = Jsoup.coect("http://www.dn.se/nyhetsdygnet/#getMoreArticles/2016-05-09/120").timeout(100000).userAgent(" Mozilla//5.0 (Windows NT 6.1; WOW64) AppleWebKit//537.36 (KHTML, like Gecko) Chrome//49.0.2623.110 Safari//537.36").get();;
       Elements s = doc.select("#container-20160509 > ul > li a");


       for(Element e : s)
       {
           System.out.println(e);
       }

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 23 ارديبهشت 1395 ساعت: 17:13

صفحه بندی