Thomas J Faughnan Jr
7a03291442
Fix default User-Agent regression
...
The recent HTTP client refactor in 14e25ab9fe
introduced a bug in which the global default User-Agent is no longer
used for requests. Unless a per-feed User-Agent exists, the Go standard
library's default User-Agent is used, which looks something like
"Go-http-client/1.1". To fix this, make RequestBuilder.WithUserAgent
take an additional argument, the default User-Agent, which will be used
if there is no per-feed User-Agent (i.e. it is an empty string).
Fixes #2188
Fixes #2189
2023-11-18 20:57:47 +01:00
Frédéric Guillot
e3eaaea15a
Update date parser to parse more invalid date formats
2023-11-01 20:55:35 +01:00
Frédéric Guillot
500c60b807
Fix error handling and logging issue after refactoring
2023-11-01 19:59:12 +01:00
Nicholas Parker
257e8c4761
Allow iframes pointing to Twitch videos
...
Docs: https://dev.twitch.tv/docs/embed/video-and-clips/#non-interactive-inline-frames-for-live-streams-and-vods
2023-10-27 10:02:57 -07:00
Tianfeng Wang
a1537f4b0d
Filter feed entries based on url or title
2023-10-25 19:38:08 -07:00
Frédéric Guillot
eeaab72a9f
Refactor feed discovery and avoid an extra HTTP request if the url provided is the feed
2023-10-22 18:05:37 -07:00
Frédéric Guillot
14e25ab9fe
Refactor HTTP Client and LocalizedError packages
2023-10-22 13:09:30 -07:00
Ryan Stafford
120aabfbce
Add RSS-Bridge integration
2023-10-22 11:10:56 -07:00
Frédéric Guillot
5e6c054345
Take RSS TTL field into consideration to schedule next check date
2023-10-20 20:11:05 -07:00
Frédéric Guillot
5ac3489ee5
Do not log website without icon as warning
2023-10-19 20:36:51 -07:00
Frédéric Guillot
9fd2dfa680
Refactor icon finder
...
Changes:
- Continue the discovery process when the feed icon is invalid
- Search all icons from the HTML document and do not stop on the first one
2023-10-18 22:24:56 -07:00
Frédéric Guillot
7650c81ad9
Add support for SVG icons with data url without encoding
2023-10-18 20:46:46 -07:00
Frédéric Guillot
7b541af253
Replace github.com/rylans/getlang with github.com/abadojack/whatlanggo
...
github.com/rylans/getlang doesn't seems to be updated anymore
2023-10-06 22:04:31 -07:00
Frédéric Guillot
c0e954f19d
Implement structured logging using log/slog package
2023-09-24 22:37:33 -07:00
Adriano Di Luzio
54cb8fa028
Added new rewrite rules add_hn_links_using_hack
and add_hn_links_using_opener
to open HN comments with iOS apps
2023-09-23 13:54:48 -07:00
Frédéric Guillot
3b94217fb7
Make sure icon URLs are always absolute
...
Regression introduced in #1907
2023-09-09 14:59:44 -07:00
Frédéric Guillot
48f6885f44
Add generic webhook integration
2023-09-09 13:11:42 -07:00
fuchsrot
32d33104a4
Apprise Service Urls per feed
2023-09-09 10:59:04 -07:00
Frédéric Guillot
36f013670e
Strip HTML tags from DublinCore Creator tags
2023-09-08 17:39:49 -07:00
Magnus Åhall
69738bce84
Add replace_title
write rule to adjust entry titles
2023-09-06 20:09:54 -07:00
jgbresson
691f56fde9
Update rules.go for webtoons.com
...
Include author text
2023-08-18 16:53:14 -07:00
Frédéric Guillot
e5d9f2f5a0
Rename internal url package to avoid overlap with net/url
2023-08-13 19:57:04 -07:00
Romain de Laage
fb8737e330
feat: use podcast duration tag as reading time
2023-08-12 18:14:29 -07:00
Frédéric Guillot
168a870c02
Move internal packages to an internal folder
...
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00