I am trying to scrape from this website http://saintbarnabas.hodesiq.com/joblist.asp?user_id= and I want to get all the RNs in it... I can scrape a data but cannot continue to the next page because of its javascript. I tried reading to other questions but I don't get it. This is my code
class MySpider(CrawlSpider):
name = "commu"
allowed_domains = ["saintbarnabas.hodesiq.com"]
start_urls = ["http://saintbarnabas.hodesiq.com/joblist.asp?user_id=",
]
rules = (Rule (SgmlLinkExtractor(allow=('\d+'),restrict_xpaths=('*'))
, callback="parse_items", follow= True),
)
the next button shows as
<a href="Javascript: Move('next')">Next</a>
This pagination is kills me...