def get_urls_from_playlist(filename):
    with open(filename, 'rb') as f:
        content = f.read()
        for row in content.split(keybytes['row_start'])[1:]:
            try:
                row = row.split(keybytes['row_end'])[0]
                columns = row.split(keybytes['col'])
                for col in columns:
                    if ('http' in str(col)):
                        url = col.split(keybytes['urldur'])[0].split(keybytes['urldur2'])[0].split(keybytes['urldur3'])[0]
                        url = url[1:].decode('utf-8')
                        (yield url)
            except Exception as e:
                pass
def get_urls_from_playlist(filename):
    with open(filename, 'rb') as f:
        content = f.read()
        for row in content.split(keybytes['row_start'])[1:]:
            try:
                row = row.split(keybytes['row_end'])[0]
                columns = row.split(keybytes['col'])
                for col in columns:
                    if ('http' in str(col)):
                        url = col.split(keybytes['urldur'])[0].split(keybytes['urldur2'])[0].split(keybytes['urldur3'])[0]
                        url = url[1:].decode('utf-8')
                        (yield url)
            except Exception as e:
                pass