Search
 
 

Display results as :
 

 


Rechercher Advanced Search

Latest topics
» Avalanche 2023: Tag Match: Daichi Kurozu/John Carnaby vs Koto-Chan/Adama Saadia
by Scourger X Yesterday at 4:28 pm

» Live To Serve (For Scourger)
by Scourger X Yesterday at 3:41 pm

» Liv Livewire vs Akiko Kurozu - Matches and Dynamite - Standard Fight
by Scourger X Yesterday at 3:22 pm

» Isabella vs Adama: Siren and Fairy
by JoggingJokes Yesterday at 8:07 am

» Rina Ninoita vs Blue Thunder Mask - Colour Clash
by Deus001 Yesterday at 1:52 am

Who is online?
In total there are 97 users online :: 1 Registered, 0 Hidden and 96 Guests :: 2 Bots

Blue_Snakie

[ View the whole list ]


Most users ever online was 418 on Tue Jul 30, 2019 11: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 2:00 am by Blade/speranza

Comments: 1


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 4: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