for response in grequests.imap(rs): filename = '.'.join([url_name[response.url], 'txt']) lyrics = make_soup(response) ps = lyrics.findAll('p')[2:] save_to_file(filename, to_poems(ps))
verso #2