mirror of
https://github.com/beetbox/beets.git
synced 2025-12-23 00:54:03 +01:00
Default value for link title for page searches.
Google API may not return results with a title attribute.
This commit is contained in:
parent
590b106ed0
commit
5883ee0b76
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@ def fetch_google(artist, title):
|
|||
if 'items' in data.keys():
|
||||
for item in data['items']:
|
||||
urlLink = item['link']
|
||||
urlTitle = item['title']
|
||||
urlTitle = item.get('title', u'')
|
||||
if not is_page_candidate(urlLink, urlTitle, title, artist):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue