mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix parsing newsletter url from substack
This commit is contained in:
parent
dca6461b62
commit
ebfdf1f3a0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export class SubstackHandler extends NewsletterHandler {
|
|||
this.defaultUrl = 'https://www.substack.com'
|
||||
}
|
||||
|
||||
getNewsletterUrl(postHeader: string, _html: string): string | undefined {
|
||||
parseNewsletterUrl(postHeader: string, _html: string): string | undefined {
|
||||
// raw SubStack newsletter url is like <https://hongbo130.substack.com/p/tldr>
|
||||
// we need to get the real url from the raw url
|
||||
return addressparser(postHeader).length > 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue