You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you see we use requestArticle to track which request fetched which image.
The problem is that the returned list of fetches is in a different order, e.g.
Interstellar travel
Religion
Richard Feynman
Thor Heyerdahl
Cosmology
Matching the original article name with doc.title() would not be a solution because of redirects (e.g. Richard P. Feynman correctly fetches the redirected page Richard Feynman).
Any ideas how to solve this in a safe way?
NB Due to this, and #414 and #416 we are more and more inclined to abandon the bundling and do the fetches sequentially. But that of course increases the risk of being blocked by Wikipedia's bots.
The text was updated successfully, but these errors were encountered:
Consider 5 web pages that need to be enhanced with 5 images from these Wikipedia articles:
Then fetch all of these asynchronously:
As you see we use requestArticle to track which request fetched which image.
The problem is that the returned list of fetches is in a different order, e.g.
Matching the original article name with doc.title() would not be a solution because of redirects (e.g. Richard P. Feynman correctly fetches the redirected page Richard Feynman).
Any ideas how to solve this in a safe way?
NB Due to this, and #414 and #416 we are more and more inclined to abandon the bundling and do the fetches sequentially. But that of course increases the risk of being blocked by Wikipedia's bots.
The text was updated successfully, but these errors were encountered: