The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Homework & Coursework Questions
.
grep unix.com with google



Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-27-2009
Registered User
 

Join Date: Nov 2009
Posts: 2
songs downloading using curl

Hi ,

I need to download songs from website using shell script.I have written script for that. The code is
#!/bin/ksh
curl "http://www.songs.pk/$1.html" >tmp_page 2>tmp_error
grep songid tmp_page|cut -d'"' -f2 > song_links
while read link; do
echo $link
curl "$link" >tmp_song 2>tmp_err
done<song_links

while curling for particul song url, it not returning anything. I couldn't find the solution for this. Could you please help me.
Thanks in advance.
  #2 (permalink)  
Old 11-27-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,216
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
iPod shuffle (3rd generation): Selecting a VoiceOver language for individual songs Linux Bot OS X Support RSS 0 05-27-2009 03:00 PM
Songs are not copied to iPod Linux Bot OS X Support RSS 0 05-15-2009 04:45 PM
iTunes Store: Purchased songs, videos, iPod Games, and albums can be downloaded only Linux Bot OS X Support RSS 0 04-26-2009 03:30 AM
audio problem when playign songs alert_every1 UNIX and Linux Applications 0 11-12-2008 10:54 AM



All times are GMT -4. The time now is 02:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0