Python + selenium 也获取不了这个网页的源码
資深大佬 : DonnyChao 8
最近有个网页整体翻译的需求,看了一下,Google 网页翻译是最优解,但是使用 selenium 也获取不了网页翻译后的源码。
网页对象链接( Google 网页翻译页面): https://translate.google.com.hk/translate?hl=&sl=en&tl=zh-CN&u=https://docs.python.org/3/tutorial/index.html
使用 selenium 取这个网页的源码,但是只能获取到 head 源码,body 主要的信息获取不到,请问有什么方法能获取到整个页面的源码吗?
[img]https://p.pstatp.com/origin/ff450002d304a982cd55[/img]
大佬有話說 (11)