Project

General

Profile

Bug #2437

Error on MV values

Added by Luke Murphey over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Input: Web Spider
Target version:
Start date:
06/13/2019
Due date:
% Done:

100%


Description

[web_input://temp_input_test]
# this seems to break things
output_as_mv = 0
# not sure if these are relevant
url = https://answers.splunk.com/users/index.html?page=1&pageSize=50&sort=karma&lmonth=1
selector = #middle > div > div > div > div > div > div > div.widget-content > table > tbody >tr
page_limit = 1
depth_limit = 1
# these are default or probably irrelevant
raw_content = 0
empty_matches = 0
browser = integrated_client
host = splunk_answers
index = temp
interval = 1m
output_results = always
sourcetype = temp_leaderboard_input
timeout = 10
title = temp input test
use_element_name = 0
user_agent = Splunk Website Input (+https://splunkbase.splunk.com/app/1818/)
disabled = 1

Associated revisions

Revision 688 (diff)
Added by lukemurphey over 5 years ago

Fixing error on non-MV results

Reference #2437

History

#1 Updated by Luke Murphey over 5 years ago

Traceback (most recent call last):
  File "/Users/lmurphey/Splunk/721/etc/apps/website_input/bin/web_input.py", line 423, in run
    output_fx=output_fx)
  File "/Users/lmurphey/Splunk/721/etc/apps/website_input/bin/website_input_app/web_scraper.py", line 753, in scrape_page
    output_fx(result)
  File "/Users/lmurphey/Splunk/721/etc/apps/website_input/bin/web_input.py", line 409, in <lambda>
    output_fx = lambda result: self.output_results([result], index, source, sourcetype, host, checkpoint_data, None, result_info)
  File "/Users/lmurphey/Splunk/721/etc/apps/website_input/bin/web_input.py", line 254, in output_results
    for key, value in result:
ValueError: too many values to unpack

#2 Updated by Luke Murphey over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF