add 'text.parse_float()' + cleanup in text.py
This commit is contained in:
@@ -103,7 +103,7 @@ class BehanceGalleryExtractor(BehanceExtractor):
|
||||
"gallery_id": text.parse_int(self.gallery_id),
|
||||
"title": text.unescape(title or ""),
|
||||
"user": ", ".join(users),
|
||||
"fields": [f for f in text.split_html(fields) if f != ", "],
|
||||
"fields": [f for f in text.split_html(fields) if f != ","],
|
||||
"date": text.parse_int(date),
|
||||
"views": text.parse_int(stats[0]),
|
||||
"votes": text.parse_int(stats[1]),
|
||||
|
||||
Reference in New Issue
Block a user