fixes
- parse video xml with lxml instead of regexpes - add a prefix to IDs to know what kind of object it is
This commit is contained in:
parent
d1fd5de309
commit
4ee284b2ab
5 changed files with 38 additions and 24 deletions
|
|
@ -23,5 +23,5 @@ __all__ = ['ArteLiveCollection']
|
|||
|
||||
class ArteLiveCollection(Collection):
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
return 'http://liveweb.arte.tv/fr/cat/%s/' % _id
|
||||
def id2url(cls, _id, lang):
|
||||
return 'http://liveweb.arte.tv/%s/cat/%s/' % (lang, _id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue