def read_writers(): artist_parser = DiscogsWriterParser("discogs_releases.xml") for artist in artist_parser.parse_artist(): yield artist_to_tsv(artist)
def read_artists(): artist_parser = DiscogsArtistParser("discogs_artists.xml") for artist in artist_parser.parse_artist(): yield artist_to_tsv(artist)