Open MR-2 opened 7 years ago
Do Dagens industri only have videos from expressen? or do they also have self hosted videos or other videos? If they only have videos from expressen it is just a matter to add di.se to the supported_domains parameter at line 15 in expressen.py
@qnorsten I'm not entirely sure about that but I can't find any videos that would suggest anything else either.
Just looked at it a little more seem like at least Di Gassel and Di Weekend is hosted on http://video-cdn.di.se/ so guess some more coding is needed to properly implement di.se but should be doable.
@qnorsten adding di.se to expressen.py fixes the main issue of this ticket and would be a fix for the majority of the content that they're publishing right now.
Noticed that Di Podd are using acast. Which is using plain mp3's. Would be nice if this would be implemented also.
url to that @MR-2 ?
i guess we should rewrite the "probe" thing so it can detect things like this.
http://www.di.se/podcast/makroradet/
https://acastprod.blob.core.windows.net:443/media/v1/3dc8cf6e-d63d-4717-acc1-c3272d3827e5/makrora-det1-170125-iycyrkcu.mp3
the thing in service/__init__.py
with the generic can detect the expressen video. but di.se is in the line of supported_domains in service/picsearch.py
, because of that it get higher priority and try to use that one instead.
They're using a lot of different services so it's a massive mess. This is the first time I have seen acast. Acast it self are used by other services so it might be a good idea to maybe make a separate feature request for that?
if you want to have support for acast, create a new ticket for that :)
Seems like Expressen are collaborating with Dagens Industri from now on. Di is forwarding to Expressen.
Same video but two different ULRs.
Works perfectly:
None working: