Cavin
Cavin
我在python3.6.3 中按书中(最后一个代码块)的例子来操作时,得到警告信息说 > DeprecationWarning: The unescape method is deprecated and will be removed in 3.5, use html.unescape() instead. 是否考虑要更改?
Sorry, I am missing the executable path, specific in executable_path='' my code is same as the book: ``` #!/usr/bin/env python3 import time from selenium import webdriver driver = webdriver.PhantomJS(executable_path='') driver.get("http://www.pythonscraping.com/pages/javascript/ajaxDemo.html")...
可能标题表达得不是很清楚。 我意思是摘取订阅源的文章时,限制每次更新的数量。 比如源端更新了100条,如果我设置了只读取最新的20条,剩下的80条就不要了。 我记得以前foxmail 的 rss 订阅有这个功能。 否则有些订阅源会在短时间内有大量更新,挤占了其它订阅的位置