lab003

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 5 Imported by: 0

README

实验02,查看两种surf的默认user-agent

DownloadId0的时候是默认内核,1的时候是phantomjs的内核

注意

  1. 要注意phantomjs可执行文件的路径,在写这个实验的时候,库的代码还不稳定
  2. 运行的时候会生成tmp文件夹,然后在tmp文件夹里面生成文件。调用surfer.DestroyJsFiles()可以删除生成的文件
  3. 写这个实验的时候,代码库还不稳定,之后用的话如果不能成功运行要调下代码

运行结果

Imgur

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL