Closed rafguns closed 1 year ago
If no metadata can be found, metadata_from_url will return a 'succesful' LookupResult with a JSON-encoded empty list. Should we get an error instead?
metadata_from_url
LookupResult
In other words, should we have an else: after these lines? https://github.com/rafguns/doidownloader/blob/50ebc76ac05fbf054a55e87567f15bc18e07eff1/doidownloader/doidownloader.py#L222-L225
else:
If no metadata can be found,
metadata_from_url
will return a 'succesful'LookupResult
with a JSON-encoded empty list. Should we get an error instead?