Recent Posts by kioo
|
Jul 19, 2008
|
Topic: Usage HOWTOs / Can't get next_page with symbol to work Hello scRUBYs, I have a small scrubyt-task to extract movie information from the page film.at, as you can see in this pastie: http://pastie.org/236752 Everything seems to work fine, except the fact that it doesn’t turn pages. The problem here is that “next page” is called “weiter >>” where the arrows are the symbol » The wrapper works, as I tested it with every page (manually specified each one with “fetch” and made test-run). Anyway, I tried these approaches:next_page "a[weiter]", :limit => 3 # searching for anchor with text "weiter" next_page "weiter »", :limit => 3 # vanilla approach next_page "weiter ยป", :limit => 3 # actual arrow symbol Could someone point me to the right direction? |