We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 301a3ee + 8ea31eb commit b6cd130Copy full SHA for b6cd130
auto_comment_plus.py
@@ -674,7 +674,7 @@ def main(opts=None):
674
ck = cfg['user']['cookie']
675
676
headers = {
677
- 'cookie': ck,
+ 'cookie': ck.encode("utf-8"),
678
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36',
679
'Connection': 'keep-alive',
680
'Cache-Control': 'max-age=0',
0 commit comments