Commit graph

15 commits

Author SHA1 Message Date
Pierre Mazière
3c0d13c1bb bridges: use BridgeAbstract::getSimpleHTMLDOM
instead of BridgeAbstract::file_get_html

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
logmanoriginal
74f0572d91 bridges: Replace returnError function with more specific
Replacements depend on original error code:
400: returnClientError
404: returnServerError
500: returnServerError
501: returnServerError
2016-08-17 14:45:08 +02:00
logmanoriginal
63bb7ef24d bridges: Remove unnecessary functions getName() and getURI() 2016-08-09 20:08:46 +02:00
logmanoriginal
42b6c82753 bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
2016-08-09 15:50:55 +02:00
logmanoriginal
5ad157d2fd bridges: Remove getCacheDuration if default
BridgeAbstract will return 3600 seconds by default, so the function
can be removed from any bridge implementing getCacheDuration
returning the same value.

Documentation updated accordingly.
2016-08-06 16:23:09 +02:00
ORelio
5353697e67 [T411] Cleanup advertisments 2016-07-17 14:39:14 +02:00
Pierre Mazière
955eecc299 use BridgeAbstract::file_get_html in all bridges
instead of simple_html_dom function file_get_html

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:17:42 +02:00
ORelio
9df5913d6b [T411] Use torrent id as permalink
This way links are not broken if the torrent is renamed.
2016-03-06 19:03:43 +01:00
ORelio
641d5880c7 [T411] Domain name change
T411 changeid their domain name to t411.ch
2016-02-27 12:56:48 +01:00
ORelio
91fe6c4acc [t411] Increase item limit
On searches for popular keywords, a feed reader not reading the feed often
enough can miss items (ie more than 5 items were added since last fetch)
so this change increases the limit from 5 items to 10 items, and retrieves
pages faster to compensate (500ms seems enough for not spamming t411).
2016-02-13 14:01:24 +01:00
ORelio
e1b7ffdc81 [T411] Change encoding to UTF-8
- Stop encoding to UTF-8, their website is now natively in UTF-8
 - More error handling
2016-02-03 20:37:14 +01:00
ORelio
47a79f821a [T411] Use search instead of RSS
Search isn't as severely rate limited as RSS
Search can enforce sorting to most recent entries
Bonus: Use a lower cache duration (1h instead of 3h)
2015-12-17 22:31:12 +01:00
teromene
78c9dcc705 Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
ORelio
5c987b74d5 Update T411 domain name 2015-10-22 15:01:16 +02:00
ORelio
ea7c8cc314 Add T411 bridge 2015-10-22 14:57:33 +02:00