[OLXBridge] new bridge
Adds new bridge for the OLX classifieds platform. Should support all international favors of it.
Based on https://github.com/MK-PL/OLX-RSS by Maciej Kawa.
Works but takes like 20s. Also lots of php notices.
Works but takes like 20s.
Only the first run, though, subsequent runs will be much faster with getSimpleHTMLDOMCached hitting the cache.
Also lots of php notices.
Let me look into that.
Also lots of php notices.
Now fixed, thanks.
Hi,
I just tested the other languages that OLX provides and none of them work.
https://www.olx.ro/piese-auto/mecanica-electrica/q-toyota/ https://www.olx.com.br/brasil?q=toyota https://www.olx.co.id/items/q-toyota https://www.olx.pt/ads/q-toyota/ https://www.olx.in/items/q-toyota?isSearchCall=true
The only one that works is the polish version. Also, most of those sites look very different, so the css cant work.
I tested the Romanian version during the development and it did absolutely work just fine... Let me check again.
The problem with your European OLX examples is the trailing slash — updated the code to remove it. The other OLX websites are indeed incompatible, I will therefore explicitly whitelist those that are. Thanks for testing!
@wrobelda so?
I need to add some filter on domain part of the URL. Any existing bridges that do something similar?
You can use input patterns that only allow your chosen .tld
https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/GoodreadsBridge.php#L21
@Bockiii this is now ready, please review again.
EDIT: actually, I have some improvement in works, I'll ping back when done.
@Bockiii should be ready now
@dvikan this is ready now, notices should not happen anymore
This branch has conflicts that must be resolved
This branch has conflicts that must be resolved
Done