mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
refactor(finder): change log message to be more meaningful
This commit is contained in:
parent
11c706f9db
commit
34ee04794d
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ func (f *subscriptionFinder) findSubscriptionsFromYouTube(websiteURL string) (Su
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.HasSuffix(decodedURL.Host, "youtube.com") {
|
if !strings.HasSuffix(decodedURL.Host, "youtube.com") {
|
||||||
slog.Debug("This website isn't on the youtube domain.", slog.String("website_url", websiteURL))
|
slog.Debug("YouTube feed discovery skipped: not a YouTube domain", slog.String("website_url", websiteURL))
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
if _, channelID, found := strings.Cut(decodedURL.Path, "channel/"); found {
|
if _, channelID, found := strings.Cut(decodedURL.Path, "channel/"); found {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue