Comments (3)
await wiki.categorymembers('category name')
from wikiapi.
This lists the member of the category.
Do we have a method to use name to then download the media (image, audio) ?
In the documentation, i see the upload method, but i do not see a download method.
Is download considered as a non-wikiapi action ? The url is there and up to me to pick this url and to fetch the media via my own code ?
from wikiapi.
Thank you :) 👍🏻
Be aware that svg can be downloaded as both svg or size-specific png.
from wikiapi.
Related Issues (20)
- Edit repository details to add `wikiapijs` tag. HOT 4
- Clarify naming convention (project branding) HOT 5
- Unexpected edit on bot's userpage HOT 3
- Upload upon : no edit of the page ? HOT 3
- Upload of missing file crashes script. HOT 6
- Snowpack support HOT 9
- SyntaxError: Unexpected token '.' HOT 8
- Example broken on OSX HOT 5
- download is not a function HOT 4
- `.download()` scalability ? HOT 6
- "Too many values supplied for parameter \"pageids\". The limit is 50." HOT 3
- `.download()` : reduce calls to api.php, directly hit on https://upload.wikimedia.org HOT 9
- Cannot download : triggerUncaughtException HOT 6
- `.download()` : compare local and remote files by timestamps before downloading HOT 4
- `.download()`: `session.to_namespace('Category Name', 'Category')` needed HOT 1
- `.download()` on category, recursive : questions. HOT 4
- throws "API_URL.includes" is not a function when creating wikiapi instance HOT 5
- Please publish new version with delete
- Provide an option to set a custom User-Agent string HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikiapi.