[subscribestar] fix file URLs (#5631)
This commit is contained in:
@@ -43,6 +43,8 @@ class SubscribestarExtractor(Extractor):
|
||||
item.update(data)
|
||||
item["num"] = num
|
||||
text.nameext_from_url(item.get("name") or item["url"], item)
|
||||
if item["url"][0] == "/":
|
||||
item["url"] = self.root + item["url"]
|
||||
yield Message.Url, item["url"], item
|
||||
|
||||
def posts(self):
|
||||
|
||||
Reference in New Issue
Block a user