[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


How do I change what archive site 4chanx redirects to when viewing deleted files?
It keeps going to arch b4k which is broken
>>
>>1488700
this is for /vg/ files btw
>>
>>1488700
The only other /vg/ archive i know of is archived.moe and I dont think they archive attachments, just thumbnails

In any case. You can change your hosts file, like:
arch.b4k.co (ip for .moe)

Its hacky but it'll work. Either that or you can dig it down in the source code
>>
>>1488763
damn that's unfortunate.
Any idea why arch b4k links don't work?
Here's an example (I hope it's not nsfw lol) https://arch.b4k.co/vg/full_image/1725229772042946.jpg
>>
>>1488889
a couple years ago 4chan added three new digits to filenames, making them 16 digits long. some archives still only support the old 13 digit filenames, so they just drop the last three digits.
https://arch.b4k.co/vg/full_image/1725229772042946.jpg
->
https://arch.b4k.co/vg/full_image/1725229772042.jpg
i don't know 4chan x works, but you'll have to tell it to chop off the last three digits.
note that some archives updated to support 16 digits, so whether you need to chop off the last three digits depends on the archive. for example, 4plebs uses 16 digits.
>>
>>1488895
> you'll have to tell it to chop off the last three digits.
damn, any idea how I would go about figuring that out?
I tried searching on the 4chanx github for this issue and found nothing.
>>
bump
>>
>>1488895
>so they just drop the last three digits.
This was extremely helpful.
I thought I already knew all the quirks for desu, arch, and 4plebs.
>>
File: chrome_TuBaGKfDNa.png (16 KB, 751x174)
16 KB
16 KB PNG
>>1488700
You normally do it under "Advanced" but neither of the currently available archives support image fetching.
>>
>>1489433
damn, that's unfortunate.
Do you know if there's anyway to automate deleting the last three digits of a file when it redirects to the archive site?
>>
>>1489436
You could use a separate browser extension such as Redirector.
https://einaregilsson.com/redirector/
>>
>>1489436
yes
>>
>>1489460
I'm retarded, how would I set up a rule to auto trim last 3 digits in a redirect?
>>
Bump
>>
Bump
>>
File: Capture.png (26 KB, 714x356)
26 KB
26 KB PNG
>>1489517
Use a regex.

Include pattern: https://arch\.b4k\.co/vg/full_image/(\d{13})(\d{3})?(\.\w{3,4})
Redirect to: https://arch.b4k.co/vg/full_image/$1$3
Pattern type: Regular Expression
>>
File: 1709268778642949.jpg (697 KB, 1480x1280)
697 KB
697 KB JPG
>>1490251
thanks anon that worked.
>>
>>1488700
booba



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.