Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

shitass html babby

Name: Anonymous 2013-09-09 11:20

My code is shit even for a stupid fucking html image gallery for a stupid fucking website that has a stupid fucking interface. I'm fucking pissed that their gallery is shitty and I'm fucking pissed that I had to MAKE A FUCKING EFFORT to fix something that shouldn't be so fucking stupid in the fist place. How do I git gud?

f = open('fullgallery.html', 'w')
galleryNumber = input('Gimme gallery number:')
fullDir = 'http://member.shittypornsite.com/sets/' + repr(galleryNumber).zfill(3) + '/video/a'
thumbDir = 'http://member.shittypornsite.com/sets/' + repr(galleryNumber).zfill(3) + '/video/s'

f.write('<html>\n<body bgcolor="#999999">\n')
f.write('<table width="600" border="0" cellspacing="5" cellpadding="0" align="center">\n')
for i in range(1, 601):
if ((i - 1) % 5) == 0:
f.write('<tr>\n')
f.write('<td><a href="' + fullDir + repr(i).zfill(3) + '.jpg"><img src="' + thumbDir + repr(i).zfill(3) + '.jpg" border="1"></a></td>\n')
if (i % 5) == 0:
f.write('</tr>\n')

Name: Anonymous 2013-09-09 11:33

FIOC?
I just feel crappy because it took me so damn long to write. And I'm still annoyed at the website. What fucking retard uses a 20 image/page gallery when the average set is 350+ images?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List