![]() |
Information regarding the Club Penguin Wiki Network
The Club Penguin Wiki Network was abandoned by its tech staff. These are recreations of the original sites. Your original CPWN account will not work here. Any issues, please contact Sky. |
User:Lisured: Difference between revisions
Jump to navigation
Jump to search
imported>Lisured Created page with "Hi, I am Lisured. I occasionaly update this wiki, recently using AutoWikiBrowser. == Pastie == === Ad..." |
imported>Lisured |
||
Line 7: | Line 7: | ||
# Save to file | # Save to file | ||
# Open file in AWB using ''Make list'' → ''Text file (UTF-8)'' | # Open file in AWB using ''Make list'' → ''Text file (UTF-8)'' | ||
=== Autoupload music using pywikibot (bash) === | |||
<pre> | |||
for i in {766..768}; do | |||
url="http://media1.clubpenguin.com/play/v2/content/global/music/$i.swf" | |||
wget $url -O ../Music$i.swf | |||
python pwb.py upload -keep ../Music$i.swf "== Source == | |||
* $url | |||
== Licensing == | |||
{{Music}} | |||
[[Category:Halloween Party 2014]]" | |||
done | |||
</pre> |
Revision as of 00:36, 26 October 2014
Hi, I am Lisured. I occasionaly update this wiki, recently using AutoWikiBrowser.
Pastie
- Get source of group
- Apply following regex replacement:
(?:\{\{·\}\})?\[\[(.*?)(?:\|.*?)?\]\]
for\1\n
, manual fine-tuning of output may be required. - Save to file
- Open file in AWB using Make list → Text file (UTF-8)
Autoupload music using pywikibot (bash)
for i in {766..768}; do url="http://media1.clubpenguin.com/play/v2/content/global/music/$i.swf" wget $url -O ../Music$i.swf python pwb.py upload -keep ../Music$i.swf "== Source == * $url == Licensing == {{Music}} [[Category:Halloween Party 2014]]" done