Skip to content

Commit

Permalink
Add fuzzy rule for der-postillon.com
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jul 30, 2024
1 parent 269f19f commit d6727eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Exit with cleaner message when no entries are expected in the ZIM (#336) and when main entry is not processable (#337)
- Add debug log for items whose content is empty (#344)
- New fuzzy-rule for cheatography.com (#342)
- New fuzzy-rule for cheatography.com (#342), der-postillon.com (#330)

### Fixed

Expand Down
8 changes: 8 additions & 0 deletions rules/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,11 @@ fuzzyRules:
fuzzified_url: cheatography.com.fuzzy.replayweb.page/scripts/useful.min.js?v=2
- raw_url: cheatography.com/scripts/useful.min.js?q=1719438924&v=2&foo=bar
fuzzified_url: cheatography.com.fuzzy.replayweb.page/scripts/useful.min.js?v=2
- name: der_postillon_com
pattern: blogger.googleusercontent.com\/img\/(.*\.jpg)=.*
replace: blogger.googleusercontent.com.fuzzy.replayweb.page/img/\1.resized
tests:
- raw_url: blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlN4LY6kFVwL8-rinDWp3kJp1TowOVD8vq8TP8nl3Lf1sI-hx0DE1GQA1jw7DT7XvK3FjghzJ17_1pvyXyDBAV0vtigJRnFCNfMxnndBnN3NYoXUvKQQsQ7JTGXOSajdo0mNQIv8wss_AxPBMrR4-Dd_EEacV7ZMS3m_IL2dz0WsbbKn7FD7ntsfOe0JUq/s600-rw/tickerzugtier2.jpg=w487-h220-p-k-no-nu
fuzzified_url: blogger.googleusercontent.com.fuzzy.replayweb.page/img/b/R29vZ2xl/AVvXsEjlN4LY6kFVwL8-rinDWp3kJp1TowOVD8vq8TP8nl3Lf1sI-hx0DE1GQA1jw7DT7XvK3FjghzJ17_1pvyXyDBAV0vtigJRnFCNfMxnndBnN3NYoXUvKQQsQ7JTGXOSajdo0mNQIv8wss_AxPBMrR4-Dd_EEacV7ZMS3m_IL2dz0WsbbKn7FD7ntsfOe0JUq/s600-rw/tickerzugtier2.jpg.resized
- raw_url: blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlN4LY6kFVwL8-rinDWp3kJp1TowOVD8vq8TP8nl3Lf1sI-hx0DE1GQA1jw7DT7XvK3FjghzJ17_1pvyXyDBAV0vtigJRnFCNfMxnndBnN3NYoXUvKQQsQ7JTGXOSajdo0mNQIv8wss_AxPBMrR4-Dd_EEacV7ZMS3m_IL2dz0WsbbKn7FD7ntsfOe0JUq/w72-h72-p-k-no-nu/tickerzugtier2.jpg
unchanged: true

0 comments on commit d6727eb

Please sign in to comment.