wiki
wiki copied to clipboard
Infobox w/ multiple genres returns empty array
https://en.wikipedia.org/wiki/Tequila_(The_Champs_song)
Code:
const page = await wiki({ headers }).page('Tequila (The Champs song)');
const metadata = await Promise.all([
page.categories(),
page.info(),
]);
return metadata;
metadata[1]
:
{
name: 'Tequila',
type: 'single',
artist: 'The Champs',
album: 'Go, Champs, Go!',
bSide: 'Train to Nowhere',
released: 'January 15, 1958',
recorded: 'December 23, 1957',
studio: [ 'Gold Star Recording Studio', 'Hollywood', 'California' ],
genre: [],
label: 'Challenge Records (1950s)',
writer: 'Danny Flores',
producer: 'Joe Johnson (Challenge Records)',
nextTitle: 'Chariot Rock',
nextYear: '1958',
}