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

Some data points are missing #20

Open
haloboy777 opened this issue Sep 5, 2019 · 1 comment
Open

Some data points are missing #20

haloboy777 opened this issue Sep 5, 2019 · 1 comment

Comments

@haloboy777
Copy link

haloboy777 commented Sep 5, 2019

Sometimes most of the information is missing from the returned result.
What should I do to fix this?

Example: Daniel Radcliffe

{{Infobox person\n| name = \n| image = Daniel Radcliffe in July 2015.jpg\n| image size = \n| alt = \n| caption = Radcliffe in 2015\n| birth_name = Daniel Jacob Radcliffe\n| birth_date = {{birth date and age|df=yes|1989|7|23}}\n| birth_place = [[London]], [[England]]\n| residence = London, England <br> [[Manhattan]], [[New York (state)|New York]], United States\n| occupation = {{hlist|Actor| producer}}\n| years_active = 1999–present\n| known_for = [[Harry Potter (Character)|Harry Potter]]\n| partner = [[Erin Darke]] (2013–present)\n| signature = Danielradcliffesignature.png\n}}

Result from 'infobox-parser'

{"general":{"yearsActive":"1999–present\\n","knownFor":"Harry Potter (Character)","partner":"Erin Darke","signature":"Danielradcliffesignature.png\\n"},"tables":[],"lists":[]}

Please assist me regarding this.

@dijs
Copy link
Owner

dijs commented Oct 13, 2019

I am getting this result in v3.3.1

{
  image: 'Daniel Radcliffe in July 2015.jpg',
  caption: 'Radcliffe in 2015',
  birthName: 'Daniel Jacob Radcliffe',
  birthDate: Object { date: 1989-07-23 00:00:00.000 +0300, age: 30 },
  birthPlace: 'London',
  residence: Array [ 'Manhattan', 'New York (state)' ],
  occupation: 'hlist',
  yearsActive: '1999–present',
  knownFor: 'Harry Potter (Character)',
  partner: 'Erin Darke',
  signature: 'Danielradcliffesignature.png',
  title: 'List of awards and nominations received by Daniel Radcliffe',
  list: 'MTV Movie Award for Best On-Screen Duo\nGlamour Awards Man of the Year'
}```

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

2 participants