@@ -305,7 +305,7 @@ def get_urls_generic(tree, url_selector="description[text()]", metadata_in_body=
try:
url = it.xpath(url_selector)[0]
except IndexError:
- logging.warn("no audio found in %s", title)
+ logging.warning("no audio found in %s", title)
else:
audio = Audio(url)
audio.date = get_item_date(it)