mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 14:48:52 +03:00
[IPBBridge] fix: bug in feed detection logic
The previous author forgot to also append ".xml" when actually fetching the detected feed.
This commit is contained in:
parent
35b905c074
commit
2bd3f22dd5
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class IPBBridge extends FeedExpander {
|
||||||
$headers = get_headers($uri . '.xml');
|
$headers = get_headers($uri . '.xml');
|
||||||
|
|
||||||
if($headers[0] === 'HTTP/1.1 200 OK') { // Heureka! It's a valid feed!
|
if($headers[0] === 'HTTP/1.1 200 OK') { // Heureka! It's a valid feed!
|
||||||
return $this->collectExpandableDatas($uri);
|
return $this->collectExpandableDatas($uri . '.xml');
|
||||||
}
|
}
|
||||||
|
|
||||||
// No valid feed, so do it the hard way
|
// No valid feed, so do it the hard way
|
||||||
|
|
Loading…
Reference in a new issue