大家好,初学爬虫
最近需要爬取公路总局的桥梁资料
https://www.thb.gov.tw/sites/ch/modules/riverbridge/riverbridge_list?node=2ce5a277-2810-4171-8b52-1853b3f6f784
第一页可用get拿到资料
https://imgur.com/RvW8h0g
https://imgur.com/dLhaAWv
https://imgur.com/fkFV3iJ
其他页数用post拿到资料
用这方法可拿到1~5页加第6页(点击一次的范围 ex.”1”, “2” “…” etc)
第7页以后因为需要点击两次,不知道该怎么写
( “…” + “7” or “…” + “8” etc)
想问一下模拟使用者点击2次以上该怎么写啊?
感恩!