⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 a meta serach engine
💻 TXT
字号:
HOW TO WRITE A PARSER SCRIPT ---------------------------------------------------
Altought  write  a  parser script is really simple, and most of the instructions
can  be found in the source code, this quick guide will help you to learn easily
how to do it.

                                                   <alessio-signorini@uiowa.edu> 



COMMANDS -----------------------------------------------------------------------

   l <string>

Search  for  <string>  in the data downloaded so far, and move the cursor to the
beginning of the string once found.


   + <n>

Move the cursor forward of <n> characters.


   - <n>

Move the cursor backward of <n> characters.


   g <info>

Initialize the buffer were the next relevant informations will be stored. It can
assume the value TITLE, URL, or TEXT.


   u <string>

Capture  from  the  point in which the command "g" was used, to the beginning of
<string>,  saving  the text in the buffer previously pointed in the command "g".
Then the cursor is moved to the end of <string>.


   c
	
Clean the last information extracted from HTML tags and characters.


   i <n> <string>

Simple  IF  command.  If  <string>  is found within <n> characters skip the next
instruction, otherwise execute it.


   j <line>
	
Jump to <line>. Keep in mind that the first line is 0.


   p

Print  on-screen the data captured so far. This command reset the data contained
in the buffers once printed.


   q

Stop  to  consider  interesting this engine. Close the socket, and don't look at
the buffer anymore.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -