Closed ws1088 closed 3 years ago
it turns out i have to use a list in the dictionary value:
wanted_dict = {
"a": ['1', '2', '3'],
"b": ['4', '5', '6']
}
and cannot use a string:
wanted_dict = {
"a": '1',
"b": '2'
}
Please confirm and if so, please add checks to error out if the values in the dict is not a list. Thanks!
Yeah, the values are treated as iterables.
i think at least the API should not hang. maybe throw an exception or detect if it is not iterable it can do something with it still?
I tried to use
wanted_dict
inscraper.build()
and it is hanging.If I use
wanted_list
is it fine. It is hanging here: