")[0]
+ album_title = text.extract(page, '
', '')[0]
+
+ # grab the id out of the title (handiest place to get it)
+ htmltitle = text.extract(page, '
', '')[0]
+ album_id = text.extract(htmltitle, '#', ' ')[0]
+
+ # tags
+ taghunk = text.extract(page, '
')
+ tags = re.compile(r"\s- ([\d\w ]+)").findall(taghunk[0])
+
+ album_data = {
+ "album": {
+ "id": album_id,
+ "title": title
+ },
+ "date": None,
+ "title": title,
+ "tags": tags,
+ }
+ yield Message.Directory, album_data
+
+ # paginate through the pages
+ pagination = text.extract(page, '