Open Alex3thy opened 11 months ago
Change line 7 and 78 here https://github.com/seanwlk/synology-rarbg-dlm/blob/main/search.php You might have to refresh cookies as well
Hello and thanks for the quick reply,
Ok, I can change them, but how I can create my own .dlm file after the changes?
run pack.sh
the dlm package is essentially an archive. If you are on windows try winrar or 7zip idk never used those for these things.
PS
take note that this proxy has different endpoints, like torrent.php is /search
https://www2.rarbggo.to/search/?search=avengers&order=seeders&by=DESC
OK, I will give it a try and I will let you know.
The https://www2.rarbggo.to/search/?search=avengers&order=seeders&by=DESC is for the line 78?
L7
private $host_url = 'https://www2.rarbggo.to/search';
L78
return "http://www2.rarbggo.to".$aTag;
Eiher way i saw that this proxy changed the template from the original and the html parser won't work either. You should fix that too. L41-44
$rows = $tables->item(8)->getElementsByTagName('tr'); // bound to table number 8, should find a way to xpath
$data = $rows->item(0)->getElementsByTagName('a');
$magnetLink = $data->item(1)->getAttribute('href');
return $magnetLink;
I am trying to create my own plugin but I am a total noob to be honest. Can you please update the one you have with this link for rarbg https://www2.rarbggo.to/.
Thanks