Code in the following cell was picked from [here](https://github.com/cern-fts/gfal2-python/blob/develop/example/python/gfal2_recursive_ls.py) and modified to enable returning a list containing all origin file urls.
# Code in the following cell was picked from [here](https://github.com/cern-fts/gfal2-python/blob/develop/example/python/gfal2_recursive_ls.py) and modified to enable returning a list containing all origin file urls.
classCrawler:
def__init__(self,output='long',recursive=False,
max_levels=2,context=gfal2.creat_context()):
self.context=context
self.output=output# one of long, short, list
self.recursive=recursive
self.max_levels=max_levels
# initialize empty file list filled by the crawl method