![]() | 1 fifa666 2019-09-29 11:05:10 +08:00 你打印输出,看一下呗 |
![]() | 2 334862132 OP @fifa666 主要打印输出没看出来有什么区别 刚在别人指点下又用 requests 包试了一下 俩个地址返回的都是 html 不是 json 我一下就懵逼了。。。 |
3 silencefent 2019-09-29 11:15:21 +08:00 不要用 requests_html,就用 requests |
![]() | 4 334862132 OP @silencefent requests_html 封装 requests 自带异步多线程 用 requests 还要封装多线程 还要搞 i/o 异步,多麻烦,本来这个我也搞出来了,就是想不明白为什么传的东西不一样... |
![]() | 5 334862132 OP 51 的 html 打印出来是这个 <HTML url='https://edu.51cto.com/courselist/index-p1.html'> 慕课的 html 打印出来是 <HTML url='https://www.imooc.com/course/list?page=1'> |
6 sherlockwhite 2019-09-29 13:38:19 +08:00 “多麻烦”? |