What do you prefer
Curl or Wget
Collapse
X
-
Tags: None
-
-
-
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:
Comment
-
-
-

█ ► XenLayer - Paravirtualization Professionals since 2008 - [ICQ: 297820698]
█ ► Reseller Hosting | OpenVZ VPS | XEN VPS | Dedicated ServersComment
-
-
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-20Comment
-
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 creditComment
-
-
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 sitesComment
-
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.Comment
-
-
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
Comment
-
-
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
Comment
-
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.Last edited by VenusBlogger; 12-09-2012, 03:40 PM.Comment
-
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
Comment
-
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?Comment
-


BUY MY SIG - 50$/Year



Comment