Add recursive resolver function

develop
Sven Slootweg 13 years ago
parent 65b77ccf8e
commit 89477c0b1b

@ -10,3 +10,12 @@ def resolve(url):
return onechannel.resolve(url) return onechannel.resolve(url)
else: else:
return {} return {}
def recurse(url):
while True:
result = resolve(url)
if 'url' not in result:
return result
url = result['url']

Loading…
Cancel
Save