Commit Graph

8 Commits

Author SHA1 Message Date
Mike Fährmann
d4ffd6c952 [yaplog] improve metadata extraction (#443)
- provide a fallback if there is no numerical image ID
- add a 'filename' field
- convert 'date' to an actual datetime object
2019-10-11 18:39:52 +02:00
Mike Fährmann
dc6ad81e2e [yaplog] prevent crash on empty posts (#443) 2019-10-10 21:19:09 +02:00
Mike Fährmann
93aac8dfea [yaplog] fix incomplete image URLs (#443) 2019-10-09 17:42:15 +02:00
Mike Fährmann
a782b009b8 [yaplog] match blog names with '-' (#443) 2019-10-09 17:40:30 +02:00
Mike Fährmann
2c32dc76cb [yaplog] update metadata structure (#190)
Put all blog post related fields in its own dict.

'image_id' -> 'id'
'post_id'  -> 'post[id]'
'title'    -> 'post[title]'
etc ...
2019-04-06 16:40:07 +02:00
Mike Fährmann
060859cc68 fix URL patterns
allow https:// as well as http://
2019-04-05 23:15:19 +02:00
Mike Fährmann
13526f3624 [yaplog] fix archive_id and posts with more than 24 images
- 'post_id' and 'image_id' are only unique per user
- /image/ pages only show a maximum of 24 images, but there can be more
  images than that in a blog post
- let extraction run in its own thread and maybe improve speed
- #190
2019-04-05 23:15:03 +02:00
Mike Fährmann
2ff043edfa [yaplog] add user- and post-extractors (#190) 2019-04-04 17:56:56 +02:00