[subscribestar] emit metadata for posts without media (#1569)
This commit is contained in:
@@ -38,8 +38,6 @@ class SubscribestarExtractor(Extractor):
|
|||||||
self.login()
|
self.login()
|
||||||
for post_html in self.posts():
|
for post_html in self.posts():
|
||||||
media = self._media_from_post(post_html)
|
media = self._media_from_post(post_html)
|
||||||
if not media:
|
|
||||||
continue
|
|
||||||
data = self._data_from_post(post_html)
|
data = self._data_from_post(post_html)
|
||||||
yield Message.Directory, data
|
yield Message.Directory, data
|
||||||
for num, item in enumerate(media, 1):
|
for num, item in enumerate(media, 1):
|
||||||
|
|||||||
Reference in New Issue
Block a user