mirror of
https://github.com/bbilly1/media_organizer.git
synced 2024-08-02 16:53:34 +00:00
ignoring html extract errors for now
This commit is contained in:
parent
b24c1124ad
commit
66d0eea533
@ -114,7 +114,11 @@ def get_show_id(file_details):
|
||||
showname_clean = result['show']['name']
|
||||
status = result['show']['status']
|
||||
desc_raw = result['show']['summary']
|
||||
# TODO better html extract method
|
||||
try:
|
||||
desc = re.sub('<[^<]+?>', '', desc_raw)
|
||||
except:
|
||||
desc = desc_raw
|
||||
result_dict = {}
|
||||
result_dict['list_id'] = list_id
|
||||
result_dict['show_id'] = show_id
|
||||
|
Loading…
Reference in New Issue
Block a user