Skip to content

Commit

Permalink
Merge pull request #476 from acegao9527/feat_addBiliShortUrlSupport
Browse files Browse the repository at this point in the history
add bilibili short url support
  • Loading branch information
gitautomator[bot] authored Mar 12, 2024
2 parents 90b1486 + 55b584e commit e4eabcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def is_webhook_enable(self) -> bool:

def should_handle(self, event: Event) -> bool:
parse_url = urlparse(event.source)
if parse_url.hostname == 'www.bilibili.com':
if parse_url.hostname in ('www.bilibili.com', 'b23.tv'):
logging.info('%s belongs to BilibiliSourceProvider', event.source)
return True
return False
Expand Down

0 comments on commit e4eabcf

Please sign in to comment.