摘要
本文主要借助Python第三方库Seleinum和paramiko分别模拟浏览器自动化操作,模拟SSH2远程访问。用Selenium库实现自动化操作,抓取网页文件。用paramiko库进行远程访问,获得节点系统下载架上的节点设备序列号。然后通过二者对比,可以迅速检查节点设备数据下载情况。
This article mainly uses Python libraries Seleinum and paramiko to simulate browser operations and SSH2 remote access respectively. Selenium library is used to automatic operations and grab web files. paramiko library is u sed to remote access to obtain the node serial number on shelf. Then by comparing the two sets of data, we can quickly check the node data download situation.
作者
陈增义
万立军
王勇
王旭
李永帅
Chen Zengyi;Wan Lijun;Wang Yong;Wang Xu;Li Yongshuai
出处
《物探装备》
2021年第4期237-239,243,共4页
Equipment for Geophysical Prospecting