You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When WebMinion runs and performs the :save_value method, it will likely return extraneous text as well desired text.
For example, say you want a particular table element and "target" : "//td[1]" there will probably be extra text there, such as this: #<Nokogiri::XML::Element:0x3fe5fcc42a58 name="td" children=[#<Nokogiri::XML::Text:0x3fe5fcc47468 "SPECIFIC TEXT AND ID HERE: ">, #<Nokogiri::XML::Element:0x3fe5fcc46e00 name="i" children=[#<Nokogiri::XML::Text:0x3fe5fcc46810
So a generic bot method - irrespective of bot driver - to run a regex on saved_data values to clean up data would be great.
The text was updated successfully, but these errors were encountered:
When WebMinion runs and performs the
:save_value
method, it will likely return extraneous text as well desired text.For example, say you want a particular table element and "target" : "//td[1]" there will probably be extra text there, such as this:
#<Nokogiri::XML::Element:0x3fe5fcc42a58 name="td" children=[#<Nokogiri::XML::Text:0x3fe5fcc47468 "SPECIFIC TEXT AND ID HERE: ">, #<Nokogiri::XML::Element:0x3fe5fcc46e00 name="i" children=[#<Nokogiri::XML::Text:0x3fe5fcc46810
So a generic bot method - irrespective of bot driver - to run a regex on saved_data values to clean up data would be great.
The text was updated successfully, but these errors were encountered: