[erome] fix AttributeError for albums without tags (#7076)
fixes regression introduced in 07a9dca459
This commit is contained in:
@@ -66,8 +66,9 @@ class EromeExtractor(Extractor):
|
||||
"user" : text.unquote(user),
|
||||
"count" : len(urls),
|
||||
"date" : date,
|
||||
"tags" : [t.replace("+", " ")
|
||||
for t in text.extract_iter(tags, "?q=", '"')],
|
||||
"tags" : ([t.replace("+", " ")
|
||||
for t in text.extract_iter(tags, "?q=", '"')]
|
||||
if tags else ()),
|
||||
"_http_headers": {"Referer": url},
|
||||
}
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
__version__ = "1.29.0"
|
||||
__version__ = "1.29.1-dev"
|
||||
__variant__ = None
|
||||
|
||||
Reference in New Issue
Block a user