Jump to content




Photo

Download posts/threads in Off-Topic


  • Please log in to reply
19 replies to this topic

#1 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 16, 2013 - 02:50 PM

Might it be possible to download posts and threads in the off-topic section, like we are able to in other sections?

 

rQJMZlP.jpg

 

It appears that I am only able to do so in select categories.


Edited by -Wade-, December 16, 2013 - 02:53 PM.

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#2 vong

vong

    Sixth Man

  • 3,169 posts
  • Joined: Oct 06, 2008
  • Fav. Laker:Goku

Posted December 16, 2013 - 03:15 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!


L7zqGhJ.png

alumni


#3 bigvee

bigvee

    Hall Of Fame

  • 9,050 posts
  • Joined: Jul 05, 2009
  • Location:LA
  • Fav. Laker:Samaki Walker

Posted December 16, 2013 - 03:45 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!


Wade has some heavy posts in the off topic section on politics and such. I'm guessing he wants copies.

#4 JEN

JEN

    Legend

  • 27,087 posts
  • Joined: Sep 20, 2008
  • Location:714

Posted December 16, 2013 - 03:50 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!

 

:laughing:



#5 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 16, 2013 - 03:54 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!

 

I'm writing a paper and I need some material from some posts I've made.

 

Let's see here... manually find, copy and paste the post...

 

OR

 

Use sed with regular expressions to automatically copy everything that begins with -Wade-...

 

I think I'll take the ladder and save myself a few hours of time, if the suggestion is approved, of course. :laughing: Trust me, I can already recursively wget any thread on this website... this suggestion is more for others and just a little bit for myself.

 

It is just a good feature for other reasons, like offline reading if you have limited internet (for example. peak bandwith hours). A thread like Random Thread X would be a perfect example for this.


Edited by -Wade-, December 16, 2013 - 03:58 PM.

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#6 bigvee

bigvee

    Hall Of Fame

  • 9,050 posts
  • Joined: Jul 05, 2009
  • Location:LA
  • Fav. Laker:Samaki Walker

Posted December 16, 2013 - 03:58 PM

Are you in law school Wade? Always got that impression

#7 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 16, 2013 - 04:12 PM

Are you in law school Wade? Always got that impression

 

Unofficially. I am studying legal studies, political science, and history through university OCW. I've paid to have a degree in CS, I haven't the money to officially pursue other areas. If you want a college level education and have no money:

 

OpenCourseWare:

 

Also, audit courses! From the University of Wisconsin on auditing:

Auditing a course allows a a student to take a class without the benefit of a grade or credit for a course.  A student who audits a course does so for the purposes of self-enrichment and academic exploration.   The course is offered ONLY on a space-available basis with the approvals of both the instructor of the course and an academic dean in the College of Letters & Science.

 

https://kb.wisc.edu/...ge.php?id=26734

 

Depending on the college, you can pay anywhere from $1 - $50 to take a course. You don't have the stress of worrying about a grade and get to learn new information at a collegiate level. Even though it doesn't go toward a degree, that sounds like a bargain to me... knowledge is power, especially if you can walk the walk.


wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#8 bigfetz

bigfetz

    Laker Fan

  • 17,872 posts
  • Joined: Dec 20, 2011
  • Fan Since:2005

Posted December 16, 2013 - 04:14 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!

3526543_orig.jpg?0



#9 Ham

Ham

    Rap Enthusiast

  • 6,553 posts
  • Joined: Jul 10, 2012
  • Fan Since:Showtime
  • Fav. Laker:Magic Johnson, Kobe Bryant

Posted December 16, 2013 - 04:25 PM

I'm confused, why would you want to download posts? You some sort of communist spy?!

LMFAOOOO. 

 

damn wade you're crazy. i'm working on my mba or ms on accounting. don't know which one to choose. trying to get that cpa too.


Edited by Ham, December 16, 2013 - 04:28 PM.

Mike D'Antoni is GARBAGE.


#10 bigvee

bigvee

    Hall Of Fame

  • 9,050 posts
  • Joined: Jul 05, 2009
  • Location:LA
  • Fav. Laker:Samaki Walker

Posted December 16, 2013 - 04:26 PM

Cool beans. I'm majoring in political science right now, but I'm still a few years from law school.

#11 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 16, 2013 - 04:32 PM


I'm confused, why would you want to download posts? You some sort of communist spy?!

3526543_orig.jpg?0

 

[wade@wbox lakernation.com]$ cat laker.sh
#dont worry I only spy on our govt.....
x=1

while true; do
    wget -l 0 "lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-"$x
    if test $? -ne 0; then
        break
    fi
    x=$((x+1))
done
[wade@wbox lakernation.com]$ sh laker.sh
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-1
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/ [following]
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/
Reusing existing connection to lakernation.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 111405 (109K) [text/html]
Saving to: ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-1’

100%[====================================================================================>] 111,405      277KB/s   in 0.4s   

2013-12-16 16:32:11 (277 KB/s) - ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-1’ saved [111405/111405]

--2013-12-16 16:32:11--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-2
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114897 (112K) [text/html]
Saving to: ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-2’

100%[====================================================================================>] 114,897      309KB/s   in 0.4s   

2013-12-16 16:32:12 (309 KB/s) - ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-2’ saved [114897/114897]

--2013-12-16 16:32:12--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-3
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113910 (111K) [text/html]
Saving to: ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-3’

100%[====================================================================================>] 113,910      288KB/s   in 0.4s   

2013-12-16 16:32:13 (288 KB/s) - ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-3’ saved [113910/113910]

--2013-12-16 16:32:13--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-4
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111966 (109K) [text/html]
Saving to: ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-4’

100%[====================================================================================>] 111,966      308KB/s   in 0.4s   

2013-12-16 16:32:14 (308 KB/s) - ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-4’ saved [111966/111966]

--2013-12-16 16:32:14--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-5
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114887 (112K) [text/html]
Saving to: ‘index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-5’

 0% [                                                                                     ] 0           --.-K/s              ^C
[wade@wbox lakernation.com]$ ls
index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-1  index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-4
index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-2  index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-5
index.php?%2Ftopic%2F52990-kobe-bryant%2Fpage-3  laker.sh

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#12 KobeWillReturnTriumphant

KobeWillReturnTriumphant

    TheNefariousJim&HisSilverSpoon

  • 1,825 posts
  • Joined: Apr 01, 2012
  • Fan Since:Showtime
  • Fav. Laker:Magic/Kobe/Tony Smith

Posted December 16, 2013 - 04:52 PM

LMFAOOOO. 

 

damn wade you're crazy. i'm working on my mba or ms on accounting. don't know which one to choose. trying to get that cpa too.

MBA is worth more than an MS.  Having both I will tell you that nobody cares about MS unless you are doing something very narrow in scope.  MBA is recognized everywhere and opens more doors.  Just my thoughts of course.  CPA is good.  The goal is to make the education secondary to your professional certifications.  



#13 Ham

Ham

    Rap Enthusiast

  • 6,553 posts
  • Joined: Jul 10, 2012
  • Fan Since:Showtime
  • Fav. Laker:Magic Johnson, Kobe Bryant

Posted December 16, 2013 - 04:58 PM

MBA is worth more than an MS.  Having both I will tell you that nobody cares about MS unless you are doing something very narrow in scope.  MBA is recognized everywhere and opens more doors.  Just my thoughts of course.  CPA is good.  The goal is to make the education secondary to your professional certifications.  

Accounting is very narrow though. But MBA lets me do more things. Such a confusing choice. I was leaning toward MBA in the first place. we'll see though


Edited by Ham, December 16, 2013 - 04:58 PM.

Mike D'Antoni is GARBAGE.


#14 KobeWillReturnTriumphant

KobeWillReturnTriumphant

    TheNefariousJim&HisSilverSpoon

  • 1,825 posts
  • Joined: Apr 01, 2012
  • Fan Since:Showtime
  • Fav. Laker:Magic/Kobe/Tony Smith

Posted December 16, 2013 - 06:00 PM

MBA is cross sectional and highly recognized.  A lot also depends upon the school you go to.  Several of my friends didn't go to big name schools and others did the USC/UCLA/Pepperdine deal.  The big schools have networks that will ensure you a good high paying job.  Id say MBA is the way to go.  IMO



#15 Real Deal

Real Deal

    Legend

  • 14,920 posts
  • Joined: Jun 29, 2008
  • Location:Kansas
  • Name:Brandon
  • Fav. Laker:Kobe

Posted December 16, 2013 - 09:28 PM


[wade@wbox lakernation.com]$ cat laker.sh
#dont worry I only spy on our govt.....
x=1

while true; do
    wget -l 0 "lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-"$x
    if test $? -ne 0; then
        break
    fi
    x=$((x+1))
done
[wade@wbox lakernation.com]$ sh laker.sh
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-1
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/ [following]
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/
Reusing existing connection to lakernation.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 111405 (109K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-1’

100%[====================================================================================>] 111,405      277KB/s   in 0.4s   

2013-12-16 16:32:11 (277 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-1’ saved [111405/111405]

--2013-12-16 16:32:11--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-2
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114897 (112K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-2’

100%[====================================================================================>] 114,897      309KB/s   in 0.4s   

2013-12-16 16:32:12 (309 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-2’ saved [114897/114897]

--2013-12-16 16:32:12--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-3
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113910 (111K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-3’

100%[====================================================================================>] 113,910      288KB/s   in 0.4s   

2013-12-16 16:32:13 (288 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-3’ saved [113910/113910]

--2013-12-16 16:32:13--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-4
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111966 (109K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-4’

100%[====================================================================================>] 111,966      308KB/s   in 0.4s   

2013-12-16 16:32:14 (308 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-4’ saved [111966/111966]

--2013-12-16 16:32:14--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-5
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114887 (112K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-5’

 0% [                                                                                     ] 0           --.-K/s              ^C
[wade@wbox lakernation.com]$ ls
index.php?/topic/52990-kobe-bryant/page-1  index.php?/topic/52990-kobe-bryant/page-4
index.php?/topic/52990-kobe-bryant/page-2  index.php?/topic/52990-kobe-bryant/page-5
index.php?/topic/52990-kobe-bryant/page-3  laker.sh


Teh hax0r.

Did you pull what you needed? ;)

I'll look into it, though.

#16 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 16, 2013 - 11:26 PM

I did. I was having problems wgetting stuff from Off-Topic because you need to be logged in to see it, so I solved the problem by exporting my cookies to a txt file and importing them with wget. To whom it may concern, use --load-cookies cookies.txt --keep-session-cookies.

 

Thanks, RD.


Edited by -Wade-, December 17, 2013 - 03:03 AM.

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#17 pkflyers

pkflyers

  • 8,823 posts
  • Joined: Aug 04, 2008
  • Location:714/562

Posted December 17, 2013 - 12:44 AM


[wade@wbox lakernation.com]$ cat laker.sh
#dont worry I only spy on our govt.....
x=1

while true; do
    wget -l 0 "lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-"$x
    if test $? -ne 0; then
        break
    fi
    x=$((x+1))
done
[wade@wbox lakernation.com]$ sh laker.sh
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-1
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/ [following]
--2013-12-16 16:32:10--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/
Reusing existing connection to lakernation.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 111405 (109K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-1’

100%[====================================================================================>] 111,405      277KB/s   in 0.4s   

2013-12-16 16:32:11 (277 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-1’ saved [111405/111405]

--2013-12-16 16:32:11--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-2
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114897 (112K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-2’

100%[====================================================================================>] 114,897      309KB/s   in 0.4s   

2013-12-16 16:32:12 (309 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-2’ saved [114897/114897]

--2013-12-16 16:32:12--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-3
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113910 (111K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-3’

100%[====================================================================================>] 113,910      288KB/s   in 0.4s   

2013-12-16 16:32:13 (288 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-3’ saved [113910/113910]

--2013-12-16 16:32:13--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-4
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111966 (109K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-4’

100%[====================================================================================>] 111,966      308KB/s   in 0.4s   

2013-12-16 16:32:14 (308 KB/s) - ‘index.php?/topic/52990-kobe-bryant/page-4’ saved [111966/111966]

--2013-12-16 16:32:14--  http://lakernation.com/forums/index.php?/topic/52990-kobe-bryant/page-5
Resolving lakernation.com (lakernation.com)... 64.90.56.82
Connecting to lakernation.com (lakernation.com)|64.90.56.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114887 (112K) [text/html]
Saving to: ‘index.php?/topic/52990-kobe-bryant/page-5’

 0% [                                                                                     ] 0           --.-K/s              ^C
[wade@wbox lakernation.com]$ ls
index.php?/topic/52990-kobe-bryant/page-1  index.php?/topic/52990-kobe-bryant/page-4
index.php?/topic/52990-kobe-bryant/page-2  index.php?/topic/52990-kobe-bryant/page-5
index.php?/topic/52990-kobe-bryant/page-3  laker.sh


haha i made this using c++ in a one of my classes

heres code if ur interested http://pastebin.com/zRimQN3N


13z8pc6.jpg


#18 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 17, 2013 - 01:07 AM

haha i made this using c++ in a one of my classes

heres code if ur interested http://pastebin.com/zRimQN3N

 

Good, so I'm not the only communist spy. ;) That's awesome though, +rep for sharing source code tomorrow when I have more likes to give. I've been trying to figure out how to do it in one line... maybe:

 

wget -R -m -E -p -np -k -l 0 --load-cookies cookies.txt --keep-session-cookies index.php*/topic/* -o output.txt lakernation.com/forums/index.php?/topic/63259-federal-judge-rules-nsa-violates-constitution-pg-19-nsa-surveillance-broke-privacy-rules-thousands-of-times-per-year-pg-16


Edited by -Wade-, December 17, 2013 - 03:05 AM.

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant


#19 Real Deal

Real Deal

    Legend

  • 14,920 posts
  • Joined: Jun 29, 2008
  • Location:Kansas
  • Name:Brandon
  • Fav. Laker:Kobe

Posted December 17, 2013 - 11:24 PM

Good, so I'm not the only communist spy. ;) That's awesome though, +rep for sharing source code tomorrow when I have more likes to give. I've been trying to figure out how to do it in one line... maybe:
 

wget -R -m -E -p -np -k -l 0 --load-cookies cookies.txt --keep-session-cookies index.php*/topic/* -o output.txt lakernation.com/forums/index.php?/topic/63259-federal-judge-rules-nsa-violates-constitution-pg-19-nsa-surveillance-broke-privacy-rules-thousands-of-times-per-year-pg-16

Read this, and decided to take a shot at writing it up...LOL.   :laughing:

 

Dude, I'm surprised I remember anything from my C++ classes.  Seems like it's been forever (and, well, I took mine when I was 19...so 11 years ago).  I still have a stack of papers, in a huge box, that I stored away, thinking I may need to look back on it all one of these days, lol.



#20 -Wade-

-Wade-

    知己知彼,百戰不殆

  • 6,028 posts
  • Joined: Jun 17, 2010
  • Location:◕‿◕
  • Name:Chao ❤
  • Fan Since:▄︻̷̿┻̿═━一
  • Fav. Laker:♛ Kobe Bryant

Posted December 17, 2013 - 11:55 PM

Read this, and decided to take a shot at writing it up...LOL.   :laughing:

 

Dude, I'm surprised I remember anything from my C++ classes.  Seems like it's been forever (and, well, I took mine when I was 19...so 11 years ago).  I still have a stack of papers, in a huge box, that I stored away, thinking I may need to look back on it all one of these days, lol.

 

Niice! That's cool man, even if you aren't programming for $ or w/e, it's a good brain puzzle, and also good for saving time if you know how to use it right. There was this one time I was called to a job to fix a company's Excel problems across 100 of their computers. I just wrote a Visual Basic Applications macro in 30 minutes and automated it across the machines. It was the coolest thing they had ever seen and wanted to pay me three times what I'd normally charge for 1 hour. Instead, I convinced them into a contract to teach their employees the basics of coding macros, so they can solve future problems and more in a convenient manner. It ended up leading to quite a bit more money.

 

Anyways, if you decide to try to code it for yourself, here is my working code for downloading private off-topic pages:

 

 

[wade@wbox lakercrawl]$ cat cookies.txt
# This is a generated file!  You will need to export your cookies after you login to LakerNation

.lakernation.com    TRUE    /    FALSE    X    ipb_member_id    3103
.lakernation.com    TRUE    /    FALSE    X    ipb_pass_hash    X
.lakernation.com    TRUE    /    FALSE    X    ipsconnect_X    1
.lakernation.com    TRUE    /    FALSE    0    ipb_coppa    0
.lakernation.com    TRUE    /    FALSE    0    ipb_session_id    X

[wade@wbox lakercrawl]$ cat laker.sh
#dont worry I only spy on our govt.....
x=1

while true; do
    wget -l 0 --load-cookies cookies.txt --keep-session-cookies "lakernation.com/forums/index.php?/topic/63259-federal-judge-rules-nsa-violates-constitution-pg-19-nsa-surveillance-broke-privacy-rules-thousands-of-times-per-year-pg-16/page-"$x
    if test $? -ne 0; then
        break
    fi
    x=$((x+1))
done

Edited by -Wade-, December 17, 2013 - 11:56 PM.

wKNsigp.png

"I'm always a firm believer in us being able to make our own decisions." --Kobe Bryant





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users