【发布时间】:2016-11-26 10:41:05
【问题描述】:
我要抓取 html 内容
http://ntry.com/#/scores/named_ladder/main.php 和 Scrapy。
但是,由于该网站的 Javascript 使用和 # ,我想我必须使用
Selenium (Python) 也是。
我想编写自己的代码,但我是编程新手,所以我想我需要帮助;
我想先进入ntry.com,然后点击一个名为
的锚点移动到http://ntry.com/#/scores/named_ladder/main.php<body>
<div id="wrap">
<div id="container">
<div id="content">
<a href="/scores/named_ladder/main.php">사다리</a>
</div>
</div>
</div>
</body>
然后我想使用 Scrapy 在更改后的页面上抓取 html。
如何制作selenium-混合Scrapy 蜘蛛?
【问题讨论】: