mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +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');
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue