Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infobox w/ multiple genres returns empty array #141

Open
admehta01 opened this issue Jun 6, 2020 · 0 comments
Open

Infobox w/ multiple genres returns empty array #141

admehta01 opened this issue Jun 6, 2020 · 0 comments

Comments

@admehta01
Copy link

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',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant