为何采集的数据不在一个数组里面?

耿_42394 2月前 88

arrayData = UiElement.DataScrap({"html":{"attrMap":{"id":"item-container","tag":"DIV"},"index":0,"tagName":"DIV"},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]},{"Columns":[{"props":["text","url"],"selecors":[{"className":"","index":0,"prefix":"","tag":"tbody","value":"tbody"},{"index":0,"prefix":">","tag":"tr","value":"tr"},{"className":"title","index":0,"prefix":">","tag":"td","value":"td.title"},{"className":"hint--bottom hint--info hint--title","index":0,"prefix":">","tag":"span","value":"span.hint--bottom.hint--info.hint--title"},{"className":"hint--right","index":0,"prefix":">","tag":"a","value":"a.hint--right"}]},{"props":["text"],"selecors":[{"className":"","index":0,"prefix":">","tag":"tbody","value":"tbody"},{"index":0,"prefix":">","tag":"tr","value":"tr"},{"className":"trade","index":0,"prefix":">","tag":"td","value":"td.trade"}]}],"ExtractTable":0},{"objNextLinkElement":"","iMaxNumberOfPage":5,"iMaxNumberOfResult":-1,"iDelayBetweenMS":1000,"bContinueOnError":false})

TracePrint(arrayData)
[17:02:33]uibot3844b08ad605f0.task 第7行:[
[
"2020山东省属事业单位编制招...",
"https://item.taobao.com/item.htm?id=585287465152"
],
[
"2020军队文职招聘考试公共科...",
"https://item.taobao.com/item.htm?id=604978696616"
],
[
"2020年合肥市瑶海区事业单位...",
"https://item.taobao.com/item.htm?id=605468560143"
],
[
"2020重庆市集中选调应届优秀...",
"https://item.taobao.com/item.htm?id=606337803379"
],
[
"2020天津市公安局警务辅助人...",
"https://item.taobao.com/item.htm?id=611685693514"
],
[
"2020年湖北省选调生招录考试...",
"https://item.taobao.com/item.htm?id=585286805626"
],
[
"2019年内蒙古包头市直和旗县...",
"https://item.taobao.com/item.htm?id=586357799263"
],
[
"2020年湖南省长沙市望城区事...",
"https://item.taobao.com/item.htm?id=612553707478"
],
[
"2020四川中烟工业有限责任公...",
"https://item.taobao.com/item.htm?id=612717152553"
],
[
"2020年中国残联残疾人联合会...",
"https://item.taobao.com/item.htm?id=612728141107"
],
[
"2020年黑龙江省定向选调应届...",
"https://item.taobao.com/item.htm?id=610858220034"
],
[
"20河北唐山市住房公积金管理中...",
"https://item.taobao.com/item.htm?id=611823322171"
],
[
"2020江苏省事业单位编制招聘...",
"https://item.taobao.com/item.htm?id=586546896284"
],
[
"2020吉林市事业单位教师招聘...",
"https://item.taobao.com/item.htm?id=612871880181"
],
[
"2020年山西华铁铁路有限公司...",
"https://item.taobao.com/item.htm?id=606152055366"
],
[
"2020黄委会黄河水利委员会事...",
"https://item.taobao.com/item.htm?id=586253208408"
],
[
"2020年内蒙古林业局事业单位...",
"https://item.taobao.com/item.htm?id=611295144629"
],
[
"2020重庆市水务集团招聘考试...",
"https://item.taobao.com/item.htm?id=586918607323"
],
[
"2020年贵州省烟草专卖局公司...",
"https://item.taobao.com/item.htm?id=611316724484"
],
[
"2020年江苏省事业单位编制招...",
"https://item.taobao.com/item.htm?id=578704913975"
],
[
"2020年北京市朝阳区社区工作...",
"https://item.taobao.com/item.htm?id=586385841666"
],
[
"2020年宁波市事业单位编制招...",
"https://item.taobao.com/item.htm?id=612571474031"
],
[
"2020宿迁市泗洪县招聘公办学...",
"https://item.taobao.com/item.htm?id=612865672801"
],
[
"2020年浙江省检察院机关司法...",
"https://item.taobao.com/item.htm?id=578736353952"
],
[
"2020四川宜宾市事业单位编招...",
"https://item.taobao.com/item.htm?id=586644864729"
],
[
"2020年甘肃省特岗教师招聘考...",
"https://item.taobao.com/item.htm?id=611331180587"
],
[
"2020年深圳信息职业技术学院...",
"https://item.taobao.com/item.htm?id=611442528575"
],
[
"2020年甘肃省特岗教师招聘考...",
"https://item.taobao.com/item.htm?id=611531237624"
],
[
"2020绍兴市柯桥区事业单位编...",
"https://item.taobao.com/item.htm?id=611657465828"
],
[
"2020农业农村部在京事业单位...",
"https://item.taobao.com/item.htm?id=611921374425"
],
[
"2020年陕西省事业单位招聘考...",
"https://item.taobao.com/item.htm?id=612125820727"
],
[
"2020南通市事业单位编制招聘...",
"https://item.taobao.com/item.htm?id=612128497442"
],
[
"2020年甘肃省公安厅机关招聘...",
"https://item.taobao.com/item.htm?id=612643620362"
],
[
"2020年辽宁省社区书记员转事...",
"https://item.taobao.com/item.htm?id=613009458795"
],
[
"2020江苏省事业单位编制招聘...",
"https://item.taobao.com/item.htm?id=586983723353"
],
[
"2020江苏省属事业单位编制招...",
"https://item.taobao.com/item.htm?id=587051695760"
],
[
"19呼伦贝尔事业单位招聘卫生技...",
"https://item.taobao.com/item.htm?id=604100625716"
],
[
"2019山东淄博市社区专职工作...",
"https://item.taobao.com/item.htm?id=605697114532"
],
[
"2020年安徽省中学教师招聘考...",
"https://item.taobao.com/item.htm?id=611255164516"
],
[
"2020年云南省特岗教师招聘考...",
"https://item.taobao.com/item.htm?id=611261688277"
],
[ "1148" ],
[ "571" ],
[ "33" ],
[ "33" ],
[ "19" ],
[ "19" ],
[ "19" ],
[ "15" ],
[ "13" ],
[ "11" ],
[ "11" ],
[ "10" ],
[ "9" ],
[ "9" ],
[ "9" ],
[ "15" ],
[ "7" ],
[ "5" ],
[ "5" ],
[ "4" ],
[ "4" ],
[ "4" ],
[ "5" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "3" ],
[ "2" ],
[ "2" ],
[ "2" ],
[ "2" ],
[ "2" ]
]


我想要:


[
"2020年安徽省中学教师招聘考...",
"",

],
[
"2020年云南省特岗教师招聘考...",
"",

]

如何实现 ?

最新回复 (2)
  • 耿_42394 2月前
    2
    我想要:



    [
    "2020年安徽省中学教师招聘考...",
    "url",
    "1148"

    ],
    [
    "2020年云南省特岗教师招聘考...",
    "URL",
    "571"

    ]
  • life 2月前
    3
    是在一个数组里,是二维数组
返回
发新帖