-
Notifications
You must be signed in to change notification settings - Fork 76
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
How to pull logo/profile image from Infobox table? #18
Comments
Did you find a way to obtain the Infobox table data? I just started using this nice gem but can't seem to find a way to retrieve this data. |
Hi, It is possible to extract this information by using |
@pietromenna Thanks for your reply. I would love to submit a pull request, but while inspecting the For example, a search on the I think the Would appreciate some insight, I would love to submit the patch then. |
Thank you @BigChief45 for your example. In the example In order to make this query to work, you will have toinclude Check out if the code below works: Usually when I hope this helped. |
@pietromenna I tried using that option with |
I apologize if I understood incorrectly. :-( I though you were looking for the list of taxonomies: I ran this example:
And it came this list: Without the parameter the API simply does not return all the templates. This gem retrieves information by calling wikipedia API, mostly by using the query action. If you want to see what gets returned by the API, you can check One suggestion is try to get the query by using the sandbox to get the results you want. Then you are able to set the parameters to the gem so it retrieves for you the information you need programatically. I hope this helps. |
It seems the entire side Wikipedia Infobox table is ignored when accessing the page.sanitized_content.
How can I pull only a company logo or a person's profile photo from the Infobox?
The rest of the Infobox content would be nice to have as well.
The text was updated successfully, but these errors were encountered: