mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-24 23:37:18 +00:00
[GithubSearchBridge] Update the bridge to match Github's layout
This commit is contained in:
parent
380fdf2e40
commit
24cdeabed8
@ -24,7 +24,7 @@ class GithubSearchBridge extends BridgeAbstract {
|
|||||||
$html = getSimpleHTMLDOM($url)
|
$html = getSimpleHTMLDOM($url)
|
||||||
or returnServerError('Error while downloading the website content');
|
or returnServerError('Error while downloading the website content');
|
||||||
|
|
||||||
foreach($html->find('div.repo-list-item') as $element) {
|
foreach($html->find('li.repo-list-item') as $element) {
|
||||||
$item = array();
|
$item = array();
|
||||||
|
|
||||||
$uri = $element->find('h3 a', 0)->href;
|
$uri = $element->find('h3 a', 0)->href;
|
||||||
|
Loading…
Reference in New Issue
Block a user