This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
#posição [0] artista | |
#posição [1] local | |
def encontrar_artista_local(texto): | |
return re.findall('".+"', texto) | |
def encontrar_data(texto): | |
datas = re.findall('[0-9]{2}/[0-9]{2}', texto) or re.findall('[0-9]{2}/[a-z]{3}', texto) | |
if datas is not None: |