4

この Web サイトhttp://saintbarnabas.hodesiq.com/joblist.asp?user_id=からスクレイピングしようとし ています。その中のすべての RN を取得したいのですが、データをスクレイピングできますが、次のページに進むことができません。そのjavascriptの。他の質問を読んでみましたが、わかりません。これは私のコードです

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),
    )

次のボタンは次のように表示されます

<a href="Javascript: Move('next')">Next</a>

このページネーションは私を殺します...

4

1 に答える 1