Difference between revisions of "User:Craftjenn/PWB : Upload several images"

From Ryzom Commons

Jump to: navigation, search
m
m
Line 7: Line 7:
 
'''python imageharvest.py http://www.sitename.org/folder'''  
 
'''python imageharvest.py http://www.sitename.org/folder'''  
  
 +
== config ==
 +
'''python --version''' vérifier la version de python
 +
#copier /core_stable/user-config.py.sample en /core_stable/user-config.py
  
 
== Links ==
 
== Links ==

Revision as of 14:48, 12 April 2020

Comment uploader plein d'images

  1. avoir un site web où sont toutes les images (filezilla) - ici http://www.sitename.org/folder
  2. utiliser un bot (script en pyton)


python imageharvest.py http://www.sitename.org/folder

config

python --version vérifier la version de python

  1. copier /core_stable/user-config.py.sample en /core_stable/user-config.py

Links

https://www.mediawiki.org/wiki/Manual:Pywikibot/imageharvest.py

en:Category:PWB