TLDR has renamed the 'Webdev' channel to 'Dev' and Webdev has stopped working in the bridge. This PR makes the applicable change.
They have also added new channels for 'Fintech' and 'Data' and 'Coming Soon' channels for 'IT' and 'Hardware'. The URLs and signup pages for the 'Coming Soon' channels exist but they haven't started publishing articles yet. This PR adds options for all of these new channels.
The following test article revealed that the previous code always takes
the first youtube link on all YouTube embed spaces:
https://www.golem.de/news/free-to-play-kostenlos-skaten-ballern-und-klicken-2510-201000.html
This command changes it to opportunistically select the i-th youtube
embed link for the i-th placeholder. This might fail and produce wrong
orderings, but should be better than the previous code. The above test
article is at least completely correct.
The content itself is included (if it's below `noscript iframe`). The
notice is unnecessary clutter that is also not displayed in the JS
variant of the Heise website.
Apparently, the script element containing the YouTube URI is not the
15th one anymore. Replacing it with a foreach loop to find it
irrespective of where this script element is.
There is a chance to find a different YouTube embed. But the original
approach didn't support multiple YouTube embeds anyways. And fixing that
is hard.
PHP Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/rss-bridge/bridges/KemonoBridge.php on line 46
* [MagicTheGatheringBridge] Implement bridge for all categories on MTG website
* Fix Linting issues
* [MagicTheGatheringBridge] Fix more linting issues
- By adding null coalescing fallbacks, we avoid any errors that might
occur by functions returning a null value.
- Add function return types.
- More consistently use single quote characters.
* [NHKWorldJapanShowBridge] Add bridge for NHK World-Japan shows
A feed for the available episodes of each show.
* [NHKWorldJapanShowBridge] Get feed's title from web page
* [NHKWorldJapanShowBridge] Decode title for name
* [NHKWorldJapanShowBridge] Add parameter detection
* [NHKWorldJapanShowBridge] Switch to catseye for example value
* [NHKWorldJapanShowBridge] Add embed video options and links
* [NHKWorldJapanShowBridge] Localize text strings
* [NHKWorldJapanShowBridge] Add thumbnail to iframe embed
* [NHKWorldJapanShowBridge] Improve parameter strings
* [NHKWorldJapanShowBridge] Decided on a 4 hour cache
* [NHKWorldJapanShowBridge] Remove server locale check
* [NHKWorldJapanShowBridge] Fix concat and line check errors
* [NHKWorldJapanShowBridge] Enable strict type checking
Bridge update does the following:
- Switches to new kemono.cr domain
- Adds support for DLSite and, from coomer.st, OnlyFans, Fansly, CandFans (Fixes#4518)
- Follows API changes, including needing to request a CSS type and
separately obtain post contents (limit option added in correspondence
with this) (Fixes#4671)
Some issue "comments" (e.g. changes in labels) lack a title, leading to
an ugly PHP warning:
```
rssbridge.WARNING Attempt to read property "plaintext" on null at bridges/GithubIssueBridge.php line 165
```
This commit checks whether an element was found before accessing
`plaintext` on it, avoiding this specific warning.
Equally, the issue number is checked before access.
* [GolemBridge] changes due to redesign
* Update GolemBridge.php
remove "öffnet in neuen Fenster" in Links
* Update GolemBridge.php
- remove redundant stuff, like title in text
- add first part of article
- fix categories