/tech/ - Technology

Brought to you by archive.org

Posting mode: Reply

Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images


Anonymous Board owner 07/09/2017 (Sun) 19:42:49 [Preview] No. 8890
Threads are currently being restored from the Wayback machine. When that's finished, all the threads that were pushed down will be bumped. I might be asleep by that time.
The threads from the first ten pages of https://web.archive.org/web/20170603040401/http://endchan.xyz/tech/catalog.html have been restored. If you'd like to have another thread recovered, request it here.
Edited last time by ring on 07/11/2017 (Tue) 20:03:44.


Anonymous 07/09/2017 (Sun) 20:17:13 [Preview] No. 9061 del
Wow, much quicker than I thought it would be. Going great, well done.


Anonymous Board owner 07/10/2017 (Mon) 00:38:46 [Preview] No. 10322 del
And it's done. This is what I wrote:
https://gitgud.io/snippets/137


Anonymous 07/10/2017 (Mon) 20:48:28 [Preview] No. 10331 del
>>10322
I wanna test this for my board, how do i edit it properly?


Anonymous 07/10/2017 (Mon) 21:19:48 [Preview] No. 10332 del
>>10331
The bit starting at line 166 is for bumping the threads that were pushed down back to the top, you can just remove that. If you do want to bump threads, fill in the thread IDs. I hardcoded them because finding the IDs automatically wouldn't work well if I interrupted the script and restarted it (which I had to do once to fix a bug).
Line 146, 151, 153, 164 and 170 have the board name hardcoded (you can also just ctrl+f "tech"). You should replace that by your own board. For line 145/146 you should replace the entire URL by the URL of the exact catalog webpage capture you want to recover.
It only recovers threads if they're at page 10 or less in the catalog archive and they 404 on the real site.


Anonymous 07/10/2017 (Mon) 22:46:19 [Preview] No. 10336 del
>>10331
By the way - recovering from the wayback machine is a really dirty solution. If you want to prepare for an attack, start making JSON backups instead. They're more complete and easier to work with.
I've started scraping 8/tech/ and end/tech/ daily. 1.5 MB per day is a low price to pay. I can add your board, if you want.


Anonymous 07/11/2017 (Tue) 14:18:52 [Preview] No. 10345 del
>>10336
Im trying to recover /POLAK/ shit and put it on /endpol/ https://web.archive.org/web/20161226182730/endchan.xyz/POLAK

But if you want you can backup /endpol/


Anonymous 07/11/2017 (Tue) 14:49:28 [Preview] No. 10348 del
>>10345
All the catalog captures only have spam, so I'm afraid that won't work. But I've added /endpol/ to the backup list.



Top | Return | Catalog | Post a reply