diff --git a/journals/views.py b/journals/views.py index 94f18a5b5c24b55079136633c65d4064b4926a44..8e33a39beb6ccde043dc71b4e857814f51f63035 100644 --- a/journals/views.py +++ b/journals/views.py @@ -751,8 +751,9 @@ def harvest_citedby_links(request, doi_label): # The only required field in Crossref: doi. citation['doi'] = link_el.find(prefix + 'doi').text - if link_el.find(prefix + 'article_title'): - citation['article_title'] = link_el.find(prefix + 'article_title').text + el = link_el.find(prefix + 'article_title') + if el: + citation['article_title'] = el.text if link_el.find(prefix + 'journal_abbreviation'): citation['journal_abbreviation'] = link_el.find(prefix + 'journal_abbreviation').text