forked from hpricot/hpricot
-
Notifications
You must be signed in to change notification settings - Fork 15
parse twitter
dfisk edited this page Sep 13, 2010
·
4 revisions
The parser is awesome, however I have been unable to get it to handle a twitter page with spaces in the class name. I have tried many approaches to no avail. To see what I mean, try any twitter page, and attempt to get the ‘a’ element with class=“tweet-url screen-name”.
A copy and paste of the elements, as seen in firebug, into a file and then parsed works for CPath but not for CSS style search. The same search that works for the file so created fails on direct access of the URL that firefox/firebug was able to parse. Bug?
Btw, I meant for this article to be under the challenge page but don’t know how to move it…