mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 10:34:15 +02:00
fix: php errors (notices) (#3115)
This commit is contained in:
@@ -23,6 +23,7 @@ class GoogleSearchBridge extends BridgeAbstract
|
||||
|
||||
public function collectData()
|
||||
{
|
||||
// todo: wrap this in try..catch because 429 too many requests happens a lot
|
||||
$dom = getSimpleHTMLDOM($this->getURI(), ['Accept-language: en-US']);
|
||||
if (!$dom) {
|
||||
returnServerError('No results for this query.');
|
||||
|
Reference in New Issue
Block a user