diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-11 22:45:53 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-11 22:45:53 +0300 |
| commit | 8430864a0f4160fe8a5074c5cdd1ef2ba49bdf53 (patch) | |
| tree | 04d02eacc70319ecde6db767707a8212784b902b /plugins | |
| parent | 4dd4644a9b8196986252b5e308a822f4cff3f820 (diff) | |
Default to self.url if post link is not present
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/ScraperSourcePlugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ScraperSourcePlugin.py b/plugins/ScraperSourcePlugin.py index f7673de..57156e8 100644 --- a/plugins/ScraperSourcePlugin.py +++ b/plugins/ScraperSourcePlugin.py @@ -182,7 +182,7 @@ class Plugin(PluginInterface): item = Item( title=f"{date} – {title}", - link=detail_page_url, + link=detail_page_url if detail_page_url else self.url, description=description, pub_date=None, # TODO pub_date parsing author=author, |
