当前位置:网站首页>Foresniffer tutorial: extracting data
Foresniffer tutorial: extracting data
2022-06-30 10:40:00 【Full stack programmer webmaster】
today , The tutorial that Xiaobian brings to you is : How to smell in front ForeSpider Mid extraction data . The main contents include : How to select a form , How to collect lists / Table data consists of two parts . The details are as follows :
One , How to select a form
stay ForeSpider In reptile , Forms are reusable table structures , The created form can be used repeatedly for multiple tasks .
Data table selection page
1. Select the form
Method 1 : Through the drop-down menu , Or fill out the form ID, Select an existing form . Method 2 : Build a watch quickly , Click Create Form , Enter the quick table creation page , New form .(>> For details, see quick table creation ) Method 3 : Free to build a watch , Click on “ Collection configuration ”-“ Data table ”, Click to pick “ Collect forms ” hinder .(>> For details, please refer to free table creation )
Data table creation page
2. Data storage mode
It refers to data collection , Storage in the database . ① Insert : Default is insert . If you encounter duplicate data that already exists in the database , No longer insert . ② Update only : If you encounter duplicate data that already exists in the database , Then the newly collected data will be used to cover . ③ Additional : For example, the attribute of a field is an operation field , You can perform field operations . ④ Insert and update : If there is no duplicate record, insert , If there is a duplicate record, it will be updated .
Two , How to collect lists / Tabular data
The identification list is used to store tables / List of data , Put the form / Different columns of the list are stored in different fields , form / Different rows of the list are stored as multiple records of the data table . I used to sniff the official website Web The server (http://www.forenose.com/panne…) For example .
1. create form
According to the table , Create a form that stores table data . On the tab “ Data table ” in , Create a form .(>> Free to build a watch )
Identify the table structure of the list
(1) Primary key When collecting tables , A row of the table is used as a piece of data . Because the whole table belongs to the same web document , The document has only one primary key , So it can't be like collecting other content , Select the value type “ Page primary key ”. The variable type of the table's primary key , According to the number of rows and length of the table , choice “Integer” perhaps “Long”. Select the value type “ empty ”. Field attribute selection “ Primary key field ” and “ Automatic fields ”( Select the primary key field , The software will automatically select “ Key value unique ” and “ Index field ”.)
Configuration of primary key fields
(2) Other fields Select the variable type of other fields “string”, Select the value type “ All text in the constituency ”.(>> Field parameters )
Configuration of other fields
2. Create data extraction
Select a form for data extraction
Select the form
3. Identify multiple values
Click on “ Default data extraction ” node , Press Ctrl Click on any cell , Press Shift Click again to expand the area .
Positioning tables
Click on “ Identify multiple values ”, The selection is expanded to the whole table . Click on “ Confirm the constituency ”.
Confirm multi value
4. Field value
The primary key field does not need to be configured . The fields storing the contents of the table need to take values one by one .( Method 1 : Standard positioning / Method 2 : Feature location ) Click on the data extraction field , Configure the data of different columns of the table one by one . Click on the corresponding field , Press Ctrl Click any cell in the first column , Click on “ preservation ”.
Multi value field values
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/101092.html Link to the original text :https://javaforall.cn
边栏推荐
- The AOV function of R language was used for repeated measures ANOVA (one intra group factor and one inter group factor) and interaction Plot function and boxplot to visualize the interaction
- Great Wall digital art digital collection platform releases the creation Badge
- Oracle creates a stored procedure successfully, but the compilation fails
- Criu enables hot migration
- WGet -- 404 not found due to spaces in URL
- Compare the maximum computing power of the Cenozoic top ant s19xp and the existing s19pro in bitland
- 转卡通学习笔记
- 移植完整版RT-Thread到GD32F4XX(详细)
- 马斯克推特粉丝过亿了,但他在线失联已一周
- Gd32 RT thread PWM drive function
猜你喜欢
Auto Seg-Loss: 自动损失函数设计
South China Industrial Group launched digital economy and successfully held the city chain technology conference
Robotframework learning notes: environment installation and robotframework browser plug-in installation
[email protected]体感机械臂"/>
技能梳理[email protected]体感机械臂
MySQL advanced SQL statement of database (1)
Koreano essential creates a professional style
Yixian e-commerce released its first quarterly report: adhere to R & D and brand investment to achieve sustainable and high-quality development
Kernel linked list (general linked list) "list.h" simple version and individual comments
CSDN博客运营团队2022年H1总结
Apple's 5g chip was revealed to have failed in research and development, and the QQ password bug caused heated discussion. Wei Lai responded to the short selling rumors. Today, more big news is here
随机推荐
Remember the experience of an internship. It is necessary to go to the pit (I)
Skill combing [email protected] voice module +stm32+nfc
The digital collection of sunanmin's lotus heart clearing was launched on the Great Wall Digital Art
Implementation of iterative method for linear equations
前嗅ForeSpider教程:抽取数据
如何解决跨域
Oracle creates a stored procedure successfully, but the compilation fails
59 websites programmers need to know
Go -- maximum heap and minimum heap
今晚19:00知识赋能第2期直播丨OpenHarmony智能家居项目之控制面板界面设计
Smith chart view of semi steel coaxial RF line and RF line matching calibration of network analyzer e5071c
Get through the supply chain Shenzhen gift show helps cross-border e-commerce find ways to break the situation
滴滴开源敏捷测试用例管理平台!
Turn to cartoon learning notes
技能梳理[email protected]基于51系列单片机的智能仪器教具
【深度学习】深度学习检测小目标常用方法
Xinguan has no lover, and all the people benefit from loving deeds to warm the world -- donation to the public welfare action of Shangqiu children's welfare home
Koreano essential creates a professional style
Koreano essential creates a professional style
从0使用keil5软件仿真调试GD32F305