code: def dropbox_basename(url):
      
      filename = os.path.basename(url)
      match = re.findall(r'\?dl=[0-9]$', filename)
      if match:
          return filename[:-len(match[0])]
      return filename
docs: Strip off the dl=0 suffix from dropbox links
      
      >>> dropbox_basename('https://www.dropbox.com/s/yviic64qv84x73j/aclImdb_v1.tar.gz?dl=1')
      'aclImdb_v1.tar.gz'