Anonymous ID: cbdc86 Aug. 28, 2021, 4:15 a.m. No.14479211   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9246 >>9248 >>9257 >>9286 >>9311 >>9316 >>9485 >>9681 >>9798

>>14479123

8Kun Image Viewer 0.1a

A python script hacked together that takes a link for an image from 8kun that is not working due to resolution problems and attempts to open the image using all the known IP addresses for media.8kun.top

Why

media.8kun.top is not resolving and you cannot change your hosts or DNS settings

Install

Install python 3 (should be an option on all platforms, even mobile)

Open your command prompt or terminal or equivalent and enter "python โ€“version" if you get back the version of python then you have python installed and working.

Copy the script from https://pastebin.com/PkghrzXk into a new file called image.py

Use

Copy the link for the image that you want to open.

From a terminal, command prompt or equivalent, ensuring the saved image.py is in the same folder enter "python image.py" followed by a space and then paste the copied link. eg:

>python image.py https://media.8kun.top/file_store/f35298c815d2087b2d7f54e99e364ba972972bbe7db4688ec0896629ac318c15.png

 

New

  • 0.1a - Quality of life updates. Script now waits until you close the first image that works and then closes. Better for repeated uses

  • 0.1 - Initial

Windows Bonus

Create a new file called imagev.cmd in the same place as image.py with the following: python image.py %1

Now you can just keep your cmd prompt open and use imagev.cmd https://media.8kun.top/file_store/f35298c815d2087b2d7f54e99e364ba972972bbe7db4688ec0896629ac318c15.png