Git Product home page Git Product logo

dbapi's People

Contributors

acrazing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dbapi's Issues

你好,请教交流一下

你好,请问一下,按照你目前的接口来看的话,批量操作这一块是无法实现的吧,还有针对多页的评论不知道自己在第几页,这个也是无法自动循环找到的吧?我现在在做一个js的豆瓣批量操作程序,刚好看到你的这篇文章,想交流一下,如果可以的话,能加一下微信么?我的是CG12104410

pip html里未找到unescape

您好!我在尝试使用您的豆瓣机器人,在跑的过程中,出现了以下错误。
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Users/Nathan/Downloads/dbapi-master/dbapi/DoubanAPI.py", line 10, in <module> from dbapi.Group import Group File "dbapi/Group.py", line 11, in <module> from html import unescape ImportError: cannot import name unescape

能麻烦问下如何解决嘛,谢谢!

Why 'Authorization failed' during login?

Hello, when I run
dbapi login <usr_email> <usr_pwd>
I always get the following error:

Traceback (most recent call last):
File "/Users/clairel/anaconda3/bin/dbapi", line 10, in
sys.exit(main())
File "/Users/clairel/anaconda3/lib/python3.7/site-packages/dbapi/cli.py", line 82, in main
print(json.dumps(method(*args), indent=2, default=default))
File "/Users/clairel/anaconda3/lib/python3.7/site-packages/dbapi/base.py", line 224, in login
raise Exception('Authorization failed for <%s>: %s' % (username, r1.url))
Exception: Authorization failed for <my_email_address>: https://accounts.douban.com/passport/login

I'm sure that my account information is correct. Do you have any idea why this is happening? Thanks a lot!

add_comment response 200 但是实际页面并没有真正评价

你好,其他get类型的接口都能正常工作。
但是add_comment返回正常但是实际页面上并没有出现评价。日志及返回:

2018-01-11 14:05:47,565 dbapi DEBUG fetch apipost:https://www.douban.com/group/topic/111521899/add_comment
Out[5]:
<Response [200]>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.