AAGA

Results 18 comments of AAGA

Add: ![image](https://github.com/Quorafind/Obsidian-Big-Calendar/assets/39422824/144cda49-9795-4b4f-b6b5-438efa9356b6) ![image](https://github.com/Quorafind/Obsidian-Big-Calendar/assets/39422824/1f296dc6-1e51-4d59-a106-c98435a32689) But there are still some bugs.

好的,我晚上看看

I tried 3 different accounts, some error messages are encountered when logging in using email: Something went wrong. Please wait a moment and try again. Edit: And there is another...

看懂了,参考:[poe-api/src/poe.py](https://github.com/ading2210/poe-api/blob/main/poe-api/src/poe.py#L205)。 现在变成了: 1. 从poe.com返回的html内容中,提取出script标签里的内容。里面有一段 ![image](https://github.com/AHGGG/poe-node-api/assets/39422824/ebc50040-b58d-46b3-8f80-1281f2686f82) 2. 还有一个script标签里是各种函数,然后弄一个假的window,让这个标签的各种函数定义到这个假的window上 3. 然后调用上面截图里的那个函数window.ereNdsRqhp2Rd3LEW()。 4. 最后返回的就是formkey(总的来说,只要`window.AH1e2NB10cGs0eGxm("4e9dc11bef21b6307fdfc279a46a74719c86d57adfae6ddfecdbd70757730ec2");`这个函数调用成功,就拿到formkey了。可以看script里搜索前四个字母的关键词,例如这里就是搜AH1e,就可以看到是各种拼接而成的处理函数。) 我刚刚试了一下,发现对poe.com发起GET请求,返回了403,forbidden,我现在还没搞清楚为啥(初步怀疑是不是header里少东西了)。只有周末时间长点再看看,最近有点忙。

> > 感谢大佬 我也是才忙完下班 > > 对poe.com发起GET请求现在需要验证user-agent了 直接网页上复制带上就好 > > ![image](https://user-images.githubusercontent.com/94770349/255624232-72514405-585c-4044-9ccd-979365484948.png) 那我马上试试

![image](https://github.com/AHGGG/poe-node-api/assets/39422824/8ed7db91-ca6f-4bdf-ba5e-a132fec67d39) 还是不行