Since it seems to you that the type try-first ask-question later (which is very good), I will not give you an answer, but a (very detailed) guide to finding the answer.
, , Yahoo, , , , . , . , , . Chrome Developer Tools , , Firebug FF.
, , . , , " ", , . , , , , , . :
- javascript ( ).
- AJAX , ( , , , ).
. :
<span>View Comments (2077)</span>
, , , . . , devtools, . . . , chrome devtools. devtools . , :
http://news.yahoo.com/_xhr/contentcomments/get_comments/?content_id=42f7f6e0-7bae-33d3-aa1d-3dfc7fb5cdfc&_device=full&count=10&sortBy=highestRated&isNext=true&offset=20&pageNumber=2&_media.modules.content_comments.switches._enable_view_others=1&_media.modules.content_comments.switches._enable_mutecommenter=1&enable_collapsed_comment=1
? _ xhr, get_comments. . JSON ( python), , . , , , , . - , :
go to this url: http://news.yahoo.com/_xhr/contentcomments/get_comments/
include these parameters: {'_device': 'full',
'_media.modules.content_comments.switches._enable_mutecommenter': '1',
'_media.modules.content_comments.switches._enable_view_others': '1',
'content_id': '42f7f6e0-7bae-33d3-aa1d-3dfc7fb5cdfc',
'count': '10',
'enable_collapsed_comment': '1',
'isNext': 'true',
'offset': '20',
'pageNumber': '2',
'sortBy': 'highestRated'}
. , :
, , . 100, , , . , - " ". , ,
Content_id, , , . , . , .
, , , 10 , , , - ( , , )
devtools, . , , , /get_comments/ javascript- YUI. , , ( , , )
, . , , . . , , , .
, JSON ( python ), HTML- ( BeautifulSoup).
, , , , , .
.
, (, WEB, ). , - , , , . - .
!