| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Barterer 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2004 
				
				
				
					Posts: 4,864
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Curl or Wget
			 
			What do you prefer 
		
	
		
		
		
		
		
		
			
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Just Doing My Own Thing 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2011 
				Location: London, Spain, New Zealand, GFY - Not Croydon... 
				
				
					Posts: 25,248
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Curl.... 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Barterer 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2004 
				
				
				
					Posts: 4,864
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 #1 curl ^ 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2005 
				Location: Springfield 
				
				
					Posts: 13,826
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 cURL  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Make a bank with Chaturbate - the best selling webcam program        Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Confirmed Fetishist 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2005 
				Location: Fetishland 
				
				
					Posts: 11,539
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget  
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 She is ugly, bad luck. 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2010 
				
				
				
					Posts: 13,177
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 curl + php 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	↑ see post ↑ 13101  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Damn Right I Kiss Ass! 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2003 
				Location: Cowtown, USA 
				
				
					Posts: 32,422
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 depends on what I am doing... 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2004 
				
				
				
					Posts: 574
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 From console wget is easier to use and is available even when curl is not installed (yet). 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() █ ► XenLayer - Paravirtualization Professionals since 2008 - [ICQ: 297820698] █ ► Reseller Hosting | OpenVZ VPS | XEN VPS | Dedicated Servers  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2012 
				
				
				
					Posts: 11
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget from shell 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 👏 REVOLUTIONARY 👏 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2012 
				
				
				
					Posts: 2,387
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	 
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Nov 2012 
				
				
				
					Posts: 732
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 for downloading wget from shell., 
		
	
		
		
		
		
			for doing automation curl and php. 
				__________________ 
		
		
		
		
	
	![]() Ex GF Films | Grab Dollars Up To 80% Rev-Share | 255 Day Cookie | Legal Content | Variety of Promo Tools | CCBill Program | GF Niche james[at]grabdollars[dot]com | ICQ::611-99-zero-zero-20  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 frc 
			
		
			
			
			Industry Role:  
				Join Date: Jul 2003 
				Location: Bitcoin wallet 
				
				
					Posts: 4,663
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 As most others have said, curl for programming, wget is a nice program to use on it's own from the command line. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Crazy fast VPS for $10 a month. Try with $20 free credit  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Dec 2008 
				
				
				
					Posts: 914
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget -i list.txt is nice for dl'ing a huge list of things 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Idol Bucks - always more...  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#16 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2007 
				Location: Ontario 
				
				
					Posts: 4,235
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 im actually in the early stages of planning something here and im thinking of using curl but still trying to figure out how to do what i need to do with it 
		
	
		
		
		
		
		
	
	basically i need to use a login form on one site to log into another site - easy then i need to display what was on that other site onto the new site - easy the tricky part is i want to change the links on the new site and on the page gathered from the old one so that when someone clicks on them they stay on the new site instead of navigating out any ideas? maybe set up some sort of iframe after the initial login? i have access to both sites  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2012 
				Location: Spamville 
				
				
					Posts: 294
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Same as everyone else, curl + php or wget from the command line... 
		
	
		
		
		
		
		
	
	However the other day I was scraping an ebook archive. I used curl + php to scrape the html pages and get the actual pdf urls. Then in the next stage I downloaded all the pdfs using a shell script. However I found some hosts would issue a 206 error (partial content) when using wget. I ended up having to use curl from the command line to get the goods.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Jun 2006 
				
				
				
					Posts: 3,332
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Wget from the shell. CURL in PHP. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Sigmund  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2009 
				Location: Texas 
				
				
					Posts: 1,643
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget with perl and the command line curl with php 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Go Fuck Yourself  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2002 
				
				
				
					Posts: 55,372
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Here is an example i did recently with wget 
		
	
		
		
		
		
			Code: 
	#!/bin/bash # grab images from fishki.net blog posts if [ $# -ne 1 ] then echo "fishki.net url to grab images needed." exit fi if [[ "$1" == http://fishki.net/comment.php?id=* ]] then echo "downloading..." dir=`date "+%Y-%m-%d_%H:%M"`; wget -r -p -q -nd -e robots=off -P images_$dir -A '*.jpg' -R 'tn.jpg' -H -D 'ru.fishki.net' $1 echo -n "images saved: " ; ls images_$dir/ | grep ".jpg" -c else echo "invalid url: must contain http://fishki.net/comment.php?id=xxxxx" fi exit 64 ;; esac 
				__________________ 
		
		
		
		
	
	Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jul 2005 
				Location: icq#: 639544261 
				
				
					Posts: 1,965
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2002 
				
				
				
					Posts: 55,372
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 get the latest 20 popular images from 500px.com 
		
	
		
		
		
		
			Code: 
	for line in `wget --quiet -O- http://500px.com/popular | grep "from=popular" | sed -n 's/.*<img src="\([^"]*\)".*/\1/p' | sed s/"3.jpg"/"4.jpg"/ | sed s/"?t".*$//`; do wget -O $RANDOM.jpg --quiet "$line"; done 
				__________________ 
		
		
		
		
	
	Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Nov 2011 
				
				
				
					Posts: 1,540
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I'm suprised so much people here are programmers... 
		
	
		
		
		
		
		
		
			
		
		
	
	so where are the people that never used CURL+WGET? You dont wonder or ask why they use it? Are you not curious at all? Maybe its something that could be helpful and help in your webmaster tasks.. but nobody that never used it jumps into this thread, im very surprised... No curiosity? NOBODY?... That's how humans discover things, with curiosity... I personally used WGET in SSH before, but only a few times.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 ♦ Web Developer ♦ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: May 2005 
				Location: Full-Stack Developer 
				
				
					Posts: 12,472
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 cURL all the way! 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Coupon Guru 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2009 
				Location: Minneapolis 
				
				
					Posts: 10,973
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget for command line, curl for scripts and stuff. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more! AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Permanently Gone 
			
		
			
			
			Industry Role:  
				Join Date: Mar 2004 
				
				
				
					Posts: 10,019
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I don't think I've ever used curl OUTSIDE of a script, or wget INSIDE of one, so I see them as environment-based tools. I've been coding cURL stuff all weekend, so I'd definitely say I use cURL a lot more FREQUENTLY, if that's the question. 
		
	
		
		
		
		
		
	
	The answer of "this or that" is usually "the right tool for the job" .. so what's the job?  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#27 | 
| 
			
			
			
			 Icq: 14420613 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2001 
				Location: chicago 
				
				
					Posts: 15,432
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wget..... 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Need WebHosting ? Email me for some great deals [email protected]  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |