Search
 
 

Display results as :
 

 


Rechercher Advanced Search

Latest topics
» Cyber Saturday 2024 - Panther Risako vs Ellie St. James
by Yori Today at 8:14 am

» SRW: Journey to the Lizard Folk Fighters!
by Old_Man_Tai Yesterday at 11:47 pm

» Reforging the Heart (For Yori)
by TheLoneWanderer Yesterday at 8:50 pm

» Senji Takijima - Stains of Time - Reboot
by TheLoneWanderer Yesterday at 7:52 am

» Hiroyuki Takijima - Dragon in a Cage - Reboot
by TheLoneWanderer Yesterday at 7:52 am

Who is online?
In total there are 145 users online :: 1 Registered, 0 Hidden and 144 Guests :: 1 Bot

ARStudios2000

[ View the whole list ]


Most users ever online was 418 on Tue Jul 30, 2019 9:51 am
Champions & #1 contenders
                                                                                                                         
FRICTION


                                                   
Friction World Champion
Rebecca Tomko
#1 contender
???

 
Tag Team Champions
Helldozer
#1 contender
???


 
Hardcore 24/7 Champion
Yona "The Graceful Undead" Giovanni
#1 contender
???


 
Hentai Champion
Bianca Garcia
#1 contender
???



Entropy Champion
Panther Risako
#1 contender
Ellie St. James

Rising Star Champion
Piper Sherwood
#1 contender
???

                                                         




TENSION  
                                                       


Tension World Champion
Sierra Oasis
#1 contender
???

 
Nekketsu Champion
Iris Takahashi
#1 contender
Giovanni "Gyro" Zeppeli

                             
All of blade/speranza wreslters

Sun Apr 07, 2024 12:00 am by Blade/speranza

Comments: 0


Script to back threads up

Go down

Script to back threads up Empty Script to back threads up

Post by TheWamts Thu Jun 09, 2022 2:32 am

So I read this: https://www.afwrpg.com/t21922-afw-s-future-time-to-decide it seems things are a bit in flux, and you probably want to back up threads for sentimental reasons if nothing else.

I've wrote this python script to relatively quickly and easily back things up into text files: https://pastebin.com/9NHZJA2A It's a bit involved but you'll need Python 3 and BeautifulSoup installed on your machine.

For those who know command line, you'll need:
Code:
pip install bs4
pip install lxml

To run: wherever you copy that script into, create an empty folder called "archived" and create a text document called "to_archive.txt", and in it copy the thread url endings one to a line.

For instance, if you wanted to back up this thread: https://www.afwrpg.com/t21293-crossing-the-wire-nidia-roja-vs-barbed-wire then your to_archive.txt should look like
Code:
t21293-crossing-the-wire-nidia-roja-vs-barbed-wire

After running the program, you should see a text file named "*your thread name*__archived.txt" in the "archived" folder for each line you put into to_archive.txt

You can see the above thread's backup output here: https://www.toptal.com/developers/hastebin/raw/otikonojaz

For those who do not know what a code is, I guess just message me on Discord with the threads you want backed up and I'll send you the text files.

I'd volunteer to just archive threads for everybody, but I'm pretty sure I'll get rate limited and IP blocked if I do more than a few hundred threads per day.

_________________
Friction Roster: (K for Kawaii)


Script to back threads up SAdcZrMScript to back threads up MVRLLQmScript to back threads up I82ome3Script to back threads up UAjmKPCScript to back threads up MAai8oKScript to back threads up SiB6bEf

+ Two & B
TheWamts
TheWamts

Posts : 3463
Join date : 2013-08-10
Age : 73

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum