Jump to content
UBot Underground

What does this error mean? And how to prevent it?


Recommended Posts

I was just trying to scrape text and am not even using boolean. But I do get this error whenever that text I was trying to scrape changes (please see attached file).

Anybody knows how to prevent this? thanks!

 

id=balance_error converting value True to type 'System.Collections.Generic.List'1[System.String]'.png

Link to post
Share on other sites

It looks like the content scraped has the wrong data type. Probably you try putting scraped data into a list data type but the scraped data has another format that is non compatible with the specified data type. 

Link to post
Share on other sites

Thank you Fellow UBotter

Yes, I was placing all scraped data into a list. But scraped data are all formatted in Strings right? And the error shows up while in the middle of gathering all data. It hasn't been saved or in the process of being saved in a List just yet.

Link to post
Share on other sites

In general you can scrape simple strings (scrape element) or arrays aka lists (scraping list elements).

Without seeing your code I can not confirm. I think it can depend on what you do exactly. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...