Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.3k views
in Technique[技术] by (71.8m points)

有没有做模拟渲染网站的快速解决方案?

由于网站用vue写
很多内容要js执行后得到 比如meta信息

现在需要做一个模拟浏览器渲染的过程 以骗搜索引擎爬虫

有没有现成的开源方案?

题意划重点:
知道ssr和预渲染 但是不想自己写了。。。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

终究还是要自己写啊

50多行代码完事了

需要的同学可以参考:
puppeteer
nginx设置


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...