豆瓣小组自动回帖、顶贴
豆瓣滑块验证过了 评论也会要求验证码,所以也加了验证码识别,用的百度文字识别api,注册后加上access_token 就行; 也就是ocr函数
具体回复的评论url id,是帖子链接上的数字,;如https://www.douban.com/group/topic/12345/中的12345
一个自动评论顶贴的集合,目前有豆瓣,会逐步添加知乎,微博等平台。
豆瓣小组自动回帖、顶贴
豆瓣滑块验证过了 评论也会要求验证码,所以也加了验证码识别,用的百度文字识别api,注册后加上access_token 就行; 也就是ocr函数
具体回复的评论url id,是帖子链接上的数字,;如https://www.douban.com/group/topic/12345/中的12345
拉下代码,安装依赖后,执行一直错误。错误如下:
Traceback (most recent call last):
File "/Users/sijie/PycharmProjects/pythonProject2/main.py", line 172, in
denglu(s1, s2)
File "/Users/sijie/PycharmProjects/pythonProject2/main.py", line 65, in denglu
huadong()
File "/Users/sijie/PycharmProjects/pythonProject2/main.py", line 127, in huadong
pinglun(i,driver)
File "/Users/sijie/PycharmProjects/pythonProject2/main.py", line 137, in pinglun
driver.find_element_by_name("rv_comment").clear()
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 93, in clear
self._execute(Command.CLEAR_ELEMENT)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 710, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidElementStateException: Message: invalid element state
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.