Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [01.15 15:36:06][PyPtt][INFO] PyPtt v 1.2.14 由 CodingMan 開發
- [01.15 15:36:06][PyPtt][INFO] PyPtt 初始化
- [01.15 15:36:06][PyPtt][INFO] 設定連線模式 ... WebSocket
- [01.15 15:36:06][PyPtt][INFO] 設定語言模組 ... 繁體中文
- [01.15 15:36:06][PyPtt][INFO] 設定連線主機 ... 批踢踢
- [01.15 15:36:06][PyPtt][INFO] PyPtt 初始化 ... 完成
- [01.15 15:36:06][PyPtt][INFO] 目前版本 1.2.14
- [01.15 15:36:06][PyPtt][INFO] 登入帳號 ??????????
- [01.15 15:36:07][PyPtt][INFO] 登入 ... 成功
- [01.15 15:36:07][PyPtt][INFO] 取得看板資訊 facelift
- [01.15 15:36:07][PyPtt][INFO] 取得看板資訊 facelift ... 成功
- [01.15 15:36:07][PyPtt][INFO] 推文
- 登入成功
- Traceback (most recent call last):
- File "push_ptt_article.py", line 126, in <module>
- main()
- File "push_ptt_article.py", line 120, in main
- push(PTTBot, BoardKey, Aid, ContentType, Content)
- File "push_ptt_article.py", line 89, in push
- PTTBot.comment(board=Board, comment_type=PttType, content=Content, aid=Aid)
- File "/usr/local/lib/python3.8/dist-packages/PyPtt/PTT.py", line 496, in comment
- _api_comment.comment(self, board, comment_type, content, aid, index)
- File "/usr/local/lib/python3.8/dist-packages/PyPtt/_api_comment.py", line 204, in comment
- _comment(api, board, push_type, comment, post_aid=post_aid, post_index=post_index)
- File "/usr/local/lib/python3.8/dist-packages/PyPtt/_api_comment.py", line 34, in _comment
- cmd_list.append(lib_util.check_aid(post_aid))
- File "/usr/local/lib/python3.8/dist-packages/PyPtt/lib_util.py", line 160, in check_aid
- raise ValueError('aid is not valid')
- ValueError: aid is not valid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement