How do you create a pagination if there is no next page?
How do you create pagination if there is no next page? like this https://www.aurigininc.com/c/India/Investment-Banking-Firms/IN/5/All/1 I'm trying to extract this wit website URL but it does not work.
I tried it with http://www.privatebanking.com/directory/north-america-usa-new-york-new-york/brokers-security-dealers?random=1 but it also only extracts some of the data and not all pages. The tutorials are outdated and don't replicate the same settings
-
For website "https://www.aurigininc.com/c/India/Investment-Banking-Firms/IN/5/All/1" you can try this XPath.
"//a[@href="javascript:;"]/../following-sibling::li/a[not(contains(@href,"javascript"))]"
For website "http://www.privatebanking.com/directory/north-america-usa-new-york-new-york/brokers-security-dealers?random=1" you can try this XPath.
"/html/body/div/table[8]/tbody/tr/td[3]/table[1]/tbody/tr/td[2]/table[1]/tbody/tr[1]/td[1]/table/tbody/tr[2]/td[2]/table/tbody/tr/td[3]/a"
Please sign in to leave a comment.
Comments
1 comment