[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [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
/pol/ - Politically Incorrect

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
Flag
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: searchresults html.png (245 KB, 1878x668)
245 KB PNG
Swiss Anon strikes again!
There is a real possibility that the internet could go down soon due to war or some AI fuckery... are you ready to browse the archives offline?

>there's already more complicated code for it on github so you can run it on a server
Fair enough, but I want to do it myself from scratch, as an exercise, with the functionalities that I desire and as simple as possible, less than 500 lines of code.

My Python/HTML browser is starting to look good, I finally managed to get the correct reverse reply links to work too.
These little niggers are hard to implement if you never tried a similar task beforehand.

The colors are not definitive, still experimenting with that.

I want (YOU) to try building a similar browser for yourself, you can find some code screenshots here and in previous thread as a help.

NEW:
I’ve published a second version of the code, with some more basic functions I made last month on Pastebin, including a search function with a somewhat polished HTML output (see pic).

Here’s the link so you can play with it:

pastebin.com/Y1SY0Z6z
>>
>>>/g/
>>
File: pol_2017 SQL.png (10 KB, 456x165)
10 KB PNG
Meanwhile I also managed to implement French Anon's SQL lite idea, now the script can parse csv files up to 100 GB.
I'm almost in awe at what a simple 64 bit processor in a laptop can do.
>>
>>546027390
i tried
after install.exe it told me to reboot
blue screen told me system32 was delet

what do i do now?
>>
File: shills.jpg (63 KB, 590x787)
63 KB JPG
>>546027451
OY VEY you fuckers are fast.
>>
>>546027466
Mix ammonia and bleach, blow in with a straw until you smell something funny.
>>
>>546027466
>>546027514
that werked on my maschine
>>
>>546027559
Of course it works (apart from the csv bug but now I fixed it), he's just shitposting, look at the flag.
>>
File: 1610435831028.png (769 KB, 1200x1004)
769 KB PNG
>>546027390
>I want (YOU) to try building a similar browser for yourself
I'm retarded so if you could make a standalone text version with like the last 20 years of post history and upload it to archive.org that would be cool kthnxbye.

>>546027451
/g/ will just send him right back here because no one wants to deal with /pol/ users so cut him a break anon.
>>
>shtf scenario
>let's use our precious electricity browse fucking 4chan instead of something that keeps us alive
yeah great idea
>>
File: glow 404.png (50 KB, 255x255)
50 KB PNG
>>546027678
KYS
>>
>>546027582
your fix did not work
i called microsoft support
am waiting in queue now
>>
>>546027390
Why the fuck would I want to read past messages when nobody will (you) me when I post BBC ragebait
>>
>>546027582
no i meant the bleach
>>
File: giga 4 year top 1000.png (102 KB, 805x885)
102 KB PNG
Of course I didn't include the SQLite part, the Top1000 ranker and the new stuff in the v. 0.02 paste.

I will share the latest developments with you with a speed that will be somewhat proportional to the monero donations I receive.
Differently from jannies, I would prefer not to work (totally) for free in our cursed economic situation.
>>
>>546027810
This is a high IQ thread.
All glowies and retards FUCK OFF.
>>
>>546027390
No one cares at this point. Do you really care if the SHTF scenario happens? I simply do not care. When the lights go out, everything else. guess what's going to happen. People in America are going to take up their guns and go hunt down the rich elites. They will literally eat the rich. Everything will collapse overnight. Be it the lights go out at night time or day time. There are so many blood-thirsty people out there right now ready to break the shackles of restraint off so quick. It will all go tits-up in minutes to hours. May it happen just so. We may never get a Zombie apocalypse, but a time to eat the rich is just as welcoming.
>>
>>546027861
I and at least a couple other anons care. That's enough for me.
>>
>>546027390
>are you ready to browse the archives offline?
why would I want to doe. Stale bread, banter and bussy I dont just play with homie
>>
pls make a version of before trump 4chan
>>
File: top1000 early 2014.png (73 KB, 848x718)
73 KB PNG
>>546027941
The .csv example you find at the beginning of the paste has several boards from 2013 to 2017.
Use my code and you can access everything and filter what you want. Like 4plebs, with some added functions but totally offline on your PC.
>>
File: switz.png (203 KB, 1877x606)
203 KB PNG
Oh now with the .csv reader bug fixed it properly prints the HTML output too, without random slashes etc.
>>
Feel free to post your own outputs to let me know you managed to run the code, if you want to give feedback just tell me.
>>
>>546027883
What is the point exactly of caring? You are not going to survive what is to come.
>>
File: glow cia.jpg (61 KB, 500x500)
61 KB JPG
>>546028330
I'm planting the seeds of a new decentralized internet (and pre-AI / bot age decentralized internet archive).
I know this kind of shit makes the glowies absolutely seethe so I'm also doing it for my personal enjoyment.
>>
File: IMG_1116.jpg (37 KB, 500x334)
37 KB JPG
>>546028330

W E W
E
W

L A D
A
D
>>
>>546027856
Based, fuck glowies, they project anon, imagine propping this system up while watching 10s of millions of men step off the hamster wheel entirely and call them out for the traitorous vermin that ((they)) are here. It would ENBRAGE them. Stay Based.
>>
File: Thread HTML browser.png (141 KB, 1885x917)
141 KB PNG
Oh this is a screenshot of the HTML thread browser (not yet included in the paste) in case you missed it from the previous threads.
These are the reply links I was talking about in the OP.
>>
>>546027390
Works
https://archive.4plebs.org/_/search/text/aryan%20art%20thread/
>>
>>546027390
Pajeet thread
>>
Ricola Swiss Herb Candy is the true shit, mark my words niggers.
>>
File: ricola zitronenmelisse.png (413 KB, 489x696)
413 KB PNG
>>546028730
Based knower.
Favorite version?
>>
>>546027390
Bump anon.
>>546027476
Glowniggers really can't help themselves. There must be a keyword in your op that triggers them lmao.
>>
File: 1769981266368506.png (278 KB, 1080x2400)
278 KB PNG
>>546028794
how am I a glownigger
>>
>>546028864
You're either a glownigger, a bot, a jeet or a marxist retard, either way you should FUCK OFF
>>
>>546027390
>are you ready to browse the archives offline?

lol why?
>>
>>546028672
That one works as long as the Europe - N America cables are there.
My version ALWAYS works unless glowies put malware on your PC.
>>
File: glowmohn.jpg (119 KB, 938x728)
119 KB JPG
ATTENTION ATTENTION

THERE ARE AT LEAST 10 NON-ORGANIC POSTERS CURRENTLY IN THIS THREAD

TOTAL GLOWNIGGER/BOT DEATH
>>
>>546028791
the original ofcourse my nigga
>>
File: honigsalbei.png (551 KB, 566x762)
551 KB PNG
>>546029065
Ofc that one is classic and also great but I'm a huge fan of the zitronenmelisse and honig salbei ones in particular.
>>
File: ricola 2.png (579 KB, 564x762)
579 KB PNG
these ones are also great
>>
>>546028903
why are you retarded
>>
File: glowie mask.png (178 KB, 601x501)
178 KB PNG
>>546029327
KYS
>>
File: auch du.jpg (32 KB, 366x373)
32 KB JPG
(YOU)
KEEP THE THREAD BUMPED SO SOME AMERICAN FRENS CAN SEE IT WHEN THEY WAKE UP
>>
BUMP
>>
>>546030139
ho ah nigga i'm up
>>
>>546027390
I like how people here have the lamest ideas and pretend they're great. What is even the use for this? Are you that addicted to this place you can't be without it? That's just sad. There's so much out there and this is what you choose? /pol/ is the most dim minded board.
>>
There should be a board of just classic, proper old school, /pol/ threads that actually contain useful information. These days everythings just throwaway bullshit threads. There used to be cool people lurking here, we don't even get a National Socialism general anymore, what the fuck happened to this place.



[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.