binux / pyspider

A Powerful Spider(Web Crawler) System in Python.

Home Page:http://docs.pyspider.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the result output

bubugamer opened this issue · comments

  • pyspider version:0.3.10
  • Operating system:win10
  • Start up command:pyspider all

why the results have a column named '...'? what is it used for? can I delete it?
为什么结果输出里,最后有一列空列,名字叫"..",有什么作用? 我可以删掉吗?
pic

If your some of your results have additional fields, it will shown there.

On Wed, Feb 24, 2021, 8:49 PM Meansss @.***> wrote: - pyspider version:0.3.10 - Operating system:win10 - Start up command:pyspider all why the results have a column ...? what is it used for? can I delete it? 为什么结果输出里,最后有一列空列,名字叫"..",有什么作用? 我可以删掉吗? [image: pic] https://user-images.githubusercontent.com/5516520/109104882-cbd4f480-7767-11eb-9ce9-f4a63a9c100d.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#966>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE52M5TVRMZFMXHRLQTZJ3TAXJEFANCNFSM4YFZIUTQ .

thx for your reply.
But I didn't get the meaning of some. So it is like a reserved field in pyspider?
If I dont want any additional fields except my define fields. what should I do?

The results can is a dict, you can add any fields to it. For example
Row1 {title:aaa,content:bbb}
Row2 {title:ccc,content:ddd,author:ree}

The author will shown in ... colum as this not common fields. It's just UI display, it has no effect of the data.

Thx, I fully understand.

I checked db, as you said no effect to the data. shown on pic below
图片

But, if you download .csv file from webui, it still add a '{}'. shown on pic below
图片

So I checkd file result_dump.py and knew what happened
图片

Thx!