human
I am working on the file "Luke_the_Downloader/EconstorDownloader.ipynb".
The first task is:
Let's build a function that combines Wolfgang's and Henning's methods
Can you write Python code for it?

=====
What is a the Python code you requested?
assistant
#Here is the Python code you requested.

def fetchRepecHandlerByEBId():
    henningsMethod = determineRepecHandle_HenningsMethod()
    wolfgangsMethod = determineRepecHandle_WolfgangsMethod()
    
    def lookup(id):
        # hennings method
        repecHdl = henningsMethod(id)
        if repecHdl != None:
            return repecHdl
        # wolfgangs method
        repecHdl = wolfgangsMethod(id)
        if repecHdl != None:
            return repecHdl

        return None
    
    return lookup