【发布时间】:2017-11-28 22:36:17
【问题描述】:
我想要做的是从
上的“访问网站”链接中解析 URLhttps://www.truelocal.com.au/business/index-partners/canberra
源码如下:
<span class="text-frame" ng-class="(vm.getHaveSecondaryWebsites()==true) ? 'with-aditional-item':''">
<span ng-click="vm.openLink(vm.getReadableUrl(vm.getPrimaryWebsite()),'_blank')" role="button" tabindex="0">Visit website</span>
</span>
(我认为那是 Angular??)
点击链接后,新标签页会打开 URL
我看不到源中的 URL 来解析它(使用 Python 和 Selenium)
有没有办法使用 Python 和 Selenium 检索 URL? ,
【问题讨论】:
标签: python angularjs selenium-webdriver web-scraping