Are you really a programmer? Show us your own 8ch downloader then

Julian Wood
Julian Wood

Are you really a programmer? Show us your own 8ch downloader then.
Here's mine.

Attached: scr-1.png (67.07 KB, 487x436)

Other urls found in this thread:

zigforums.com/thread/1057235/technology
notabug.org/darmor/meme_magic_stats/src/master/src/main.py
8ch.net/tech/res/1057235.
notabug.org/darmor/meme_magic_stats/src/master/src/downloadBoard.py
sys.8ch.net/post.php
notabug.org/darmor/meme_magic_stats/src/time-handling/src
youtube.com/watch?v=VFbxMoYJ14E

Joseph Gutierrez
Joseph Gutierrez

I'm seeing a lot of bot posts spammed around here. Be careful anons

Alexander Roberts
Alexander Roberts

Judensheim pls go

Liam Campbell
Liam Campbell

That could be my next project

Blake Garcia
Blake Garcia

Are you really a programmer? Show us your own 8ch downloader then.
Here's mine.
C:\
I'd be more impressed if you found a toilet to shit in pajeet.

You can read about my downloader if you have a decent OS installed you don't with man wget

Thomas Green
Thomas Green

UI programming is basic sh*t, but I do agree that OP is a faggot for not doing cross-platform software. (and don't give me this "Linux or GTFO" shit)

Hunter Smith
Hunter Smith

Mods REALLY need to start banning racism on here.

Nicholas Diaz
Nicholas Diaz

(and don't give me this "Linux or GTFO" shit
command line or GTFO ;^)

Alexander Sanders
Alexander Sanders

Mods REALLY need to start banning racism on here.
where does this nigger think his bot is posting?

Christopher Brown
Christopher Brown

Why would you want to use a terrible autist os when you could use something that actually works? :^)

Mason Torres
Mason Torres

gallery-dl

Jonathan Wood
Jonathan Wood

not doing cross-platform
java
maybe you should ask in what language was made before posting.I suggest you read more about look and feel.

David Howard
David Howard

Attached: Screenshot.png (20.37 KB, 627x298)

Charles Miller
Charles Miller

Attached: Capture.JPG (89.32 KB, 883x683)

Asher White
Asher White

You work at Mozilla on Firefox? Wow

Carson Stewart
Carson Stewart

curl zigforums.com/thread/1057235/technology | grep -o '<a href=['"'"'"][^"'"'"']*['"'"'"]' | sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//' | grep file_store | xargs -I{} wget {}

Wyatt Gutierrez
Wyatt Gutierrez

Attached: 1425866630721.jpg (149.91 KB, 798x800)

Kevin Nelson
Kevin Nelson

You work at Microsoft on Windows? Wow

Matthew Fisher
Matthew Fisher

projecting
How embarrassing. I shared no evidence to suggest I use Windows, rookie.

Noah Lewis
Noah Lewis

like theres anything worth downloading here. just click the save button in the browser if that ever happens or use wget but theres never so much good stuff that its worth using that.

Isaac Russell
Isaac Russell

whats there even to program on windows.. they have simple gui editors for that and even someone that has never programmed before can use them.

Grayson Cook
Grayson Cook

only a downloader
Get on my level.

Sent from my Emacs

Attached: 1555514920.png (55.09 KB, 1280x1024)

Kayden Clark
Kayden Clark

wget -P thread_media -nd -nc -r -l 1 -H -D i.4cdn.org -A png,gif,jpg,jpeg,webm --reject-regex='s.jpg' [Thread URL]

Dominic Allen
Dominic Allen

Not knowing what UI libraries are
The look says nothing as it is Win10. Could be Java or C# or whatever the fuck OP wants

/hydrus/index.html is even better

Not everyone is sicko mode

Then it will not be cross-platform.

Source code or GTFO

Mason Powell
Mason Powell

curl -> grep -> sed -> grep ->wget

#read the URLs to get from the URL listed and treat it as HTML input to be parsed:
wget -F -i zigforums.com/thread/1057235/technology

add accept/reject lists and other options as needed

Colton Scott
Colton Scott

thanks user I was hoping someone would post that line too.

Evan Hall
Evan Hall

k
notabug.org/darmor/meme_magic_stats/src/master/src/main.py

Josiah Harris
Josiah Harris

notabug.org/darmor/meme_magic_stats/src/master/src/main.py
for i, thread in enumerate(downloadBoard("8ch.net" currentBoard "catalog.html",currentBoard)):
# get json
json = downloadThread(thread)
Pages are served JSON format so use
8ch.net/tech/res/1057235.json
instead of
8ch.net/tech/res/1057235.html

Noah Jenkins
Noah Jenkins

notabug.org/darmor/meme_magic_stats/src/master/src/downloadBoard.py

board = board.replace("html","json")

Aaron Kelly
Aaron Kelly

22 workspaces
This fucking chad.

Adam Fisher
Adam Fisher

wget -bEHkprl 'inf' -So 'wget.log' \
--accept-regex="^https?://(media\.|softserve\.)?8ch\.net/((${B}/(res/${T}\.html|threads\.json)|main\.js)|(${B}/(thumb|src)|file_store(/thumb)?|js|static|stylesheets)/.*)$" \
--warc-cdx --warc-file="8ch.${B}.${T}" -nH -P "8ch.${B}.${T}" -- "8ch.net/${B}/res/${T}.html"

Jeremiah Hughes
Jeremiah Hughes

22
default status bar
madman

Nolan Young
Nolan Young

1280x1024
How comfortable is that resolution nowadays? Is there a reason to keep to it rather than going with e.g. 1920x1200?

Adrian King
Adrian King

I mostly use it out of habit to be honest, but it's enough for two windows with 80 chars each. Somewhat annoying for movies obviously. 4:3 master race

Lucas Myers
Lucas Myers

4:3
But it's 5:4

William Carter
William Carter

Yeah, but I'd prefer a 4:3 monitor.

Easton Cooper
Easton Cooper

it's enough for two windows with 80 chars each
Close but no cigar - it would work only without any vertical borders/scrollbars etc. whatsoever (unless the font has char width less than 8 pixels).

Austin White
Austin White

Why did VESA approve that weird 5:4 reso of 1280x1024 (rather than 1280x960 or 1366x1024) anyway?

Daniel Wright
Daniel Wright

it's real simple one i made. just calls a method with an xpath string passed in. no ui. i just run it from the ide whenever i want to hork some shite

Attached: Capture.PNG (97.77 KB, 668x470)

Gabriel Perez
Gabriel Perez

ide
hmmm

Sebastian Smith
Sebastian Smith

wget -O - zigforums.com/thread/1057235/technology |\
sed -E '[email protected](https://media.8ch.net/file_store/[0-9a-f]+.(jpe?g|png|gif|webm|mp4))@\n\1\[email protected]' |\
grep -E 'https://media.8ch.net/file_store/[0-9a-f]+.(jpe?g|png|gif|webm|mp4)' |\
uniq | wget -i -

Robert Reyes
Robert Reyes

any sed thing looks disgusting every time

Jason Sanchez
Jason Sanchez

ide
hmmm
????????????????

Nolan Harris
Nolan Harris

post your code faggot

Eli Myers
Eli Myers

public static void DownloadAllImages(string url, string xpath)
{
using (var client = new WebClient())
{
var html = client.DownloadString(url);
var doc = new HtmlAgilityPack.HtmlDocument();

doc.LoadHtml(html);

var links = doc.DocumentNode.SelectNodes(xpath)
.Select(x => x.GetAttributeValue("href", null));

const string imageDir = "dlimages";

IoHelpers.CreateDirectory(imageDir);

foreach (var link in links)
{
var filename = link.Split(new[] { '/' }).Last();
Console.WriteLine(filename);
client.DownloadFile(link, Path.Combine(imageDir, filename));
}
}
}

Henry Evans
Henry Evans

Linux or GTFO

Kike, pls. Next you'll demand blacklisting CIS males next I suppose.enum class Type { Kike, Dyke, Gayaf, Nigger, Pajeet, Mudshit, XYZ, CIS_male };

bool blacklist_check(const Type applicant) {
return (applicant == Type::CIS_male);
}

int main() {
// Perform initial blacklist check
auto blacklisted = blacklist_check(Type::CIS_male); // blacklisted
blacklisted = blacklist_check(Type::Kike); // OK so far
blacklisted = blacklist_check(Type::Pajeet); // OK so far
}

Kevin Reed
Kevin Reed

I've not read the wget manual
I don't know about the -i -F -A -R -nc options
RTFM for wget
wget even has regex options, plus a config file option if the command line gets too long

See the following for ideas:

Luis Carter
Luis Carter

AaronLawson
D-did you just d-dox yourself, pajeet?

Attached: aaronlawson.PNG (5.36 KB, 604x55)

Parker Butler
Parker Butler

stop that retarded meme that is putting the - symbol where it should not be

Dominic Morgan
Dominic Morgan

boom.

Attached: 8chan-cmdline-interface.PNG (44.72 KB, 767x956)

Oliver Lewis
Oliver Lewis

I have an oneliner I frequently use.

Carter Ortiz
Carter Ortiz

...nice design doc?

Here is a working curl post script

curl -A "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (\
KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5" --referer "8ch.net" -d "thr\
ead=1031726&board=tech&email=''&body=wtfareyouevensayingtomedude&password&user_flag=&json_respons\
e=1&post='New Reply'" -X POST sys.8ch.net/post.php

Justin Baker
Justin Baker

"Hello? This is Microsoft. I'm calling about the virus you have on your machine user."

Noah Rodriguez
Noah Rodriguez

at least fake a recent version. no one uses those old phones anymore.

Robert Johnson
Robert Johnson

the looks says nothing
hurr durr i am implying that a program it's not cross-platform because it was executed on a windows machine

Jack Rodriguez
Jack Rodriguez

ok this is actually interesting.
so i could make it works (i just used braindead wget). how do i make front end of this?. i don't really want to use GUI, but i want to make it with TUI, all what i knew for other scripting language is just python,though.

Jaxon Powell
Jaxon Powell

notabug.org/darmor/meme_magic_stats/src/time-handling/src

Isaac Walker
Isaac Walker

It's not a design doc, its a usage statement. No I won't post the source, and no your curl script doesn't snipe gets lol

Owen Walker
Owen Walker

No I won't post the source
common sign of a code baby

someone already posted a Zig Forums scraper here

Blake Martin
Blake Martin

youtube.com/watch?v=VFbxMoYJ14E
female chest pumping aaron lawson?

Isaac Wright
Isaac Wright

I've shared plenty of code snippets on this board, including a nice userscript for the catalog page. I can't share the gets sniper for obvious reasons, think about it.

Also,
scraper
reinventing the wheel this badly
Simple browser extension does this trick, fren

Alexander Nelson
Alexander Nelson

No I won't post the source,
Not even if someone makes a FOI request for the source code, since it was made with public funds glownigger?

Xavier Young
Xavier Young

let me guess your "sniper" algorithm

get most recently bumped thread
get last post on bumped thread
if post number = x post reply

woooow thats crazy fam, how could you ever make something like that!!?!?!?!
let me guess your distinguishing feature is that you do concurrent requests?

Carson Martin
Carson Martin

trying to bait me into posting the algo
2/10

Joshua Parker
Joshua Parker

How can I make you post something which does not exist?

Disable AdBlock to view this page

Disable AdBlock to view this page

Confirm your age

This website may contain content of an adult nature. If you are under the age of 18, if such content offends you or if it is illegal to view such content in your community, please EXIT.

Enter Exit

About Privacy

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners.

Accept Exit