-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[HelloAssoBridge] Create bridge #4558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
It allows to list fundraising forms on HelloAsso. Useful for organisations that are using one form per event, to get new events notifications.
Pull request artifacts
last change: Wednesday 2025-05-14 22:25:46 |
This 403 probably depends of the ip address running it, as they're using Cloudflare. |
bridges/HelloAssoBridge.php
Outdated
public function getDescription() | ||
{ | ||
if (!is_null($this->getInput('search'))) { | ||
return 'Latest torrents for "' . $this->getInput('search') . '"'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
torrents? is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems to be a bad copy of TorrentGalaxyBridge.php function, it is fixed!
$html = defaultLinkTo($html, $this->getURI()); | ||
|
||
$orgname = $html->find('[class~="Intro--Name"]', 0) | ||
or returnServerError('Could not find org name!'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function has been renamed
@@ -0,0 +1,60 @@ | |||
<?php | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New code files MUST have declare(strict_types=1);
at the top of file
It allows to list fundraising forms on HelloAsso. Useful for organisations that are using one form per event, to get new events notifications.