LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2010, 01:08 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
downloading mp3 from listening sites


I am using ubuntu 8.04 with firefox browser.

There are some sites which allow you to listen the mp3 song like
http://player.pz10.com/api/?song=8304

I have found the most simple way to get mp3 file
(1)
Sometimes you get address ending with .mp3 so just copy the whole URI and use in terminal
wget "PasteWhatYouCopied"
(2)But in the link I have mentioned there is no mp3 link in address bar.
here I found out in totem-plugin-viewer(that is the thing that plays your file in browser).Just Click the button next to sound and select copy
in example taken above it is
http://media.cdn.pz10.com/mm/files/4...8779584162259c
and use just like before
wget "PasteWhatYouCopied" -O output.wma
Also notice that you have the song as output.wma in current folder of terminal.
(3)If there is a video on webpage then either wait for it to get completely downloaded & get it from /tmp.Remember don't close the page till video gets downloaded completely & you copied it from /tmp then only close that tab.
(4)There is a firefox addon 'unplug' which can help for flv because after sending file to download via unplug you can close that tab.

Just I wanted to share.
Thank you.

Last edited by sumeet inani; 01-25-2010 at 08:16 AM.
 
Old 01-24-2010, 01:20 AM   #2
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I also want to request moderator or anybody who has sufficient rights to change the thread subject to "downloading mp3 and video from webpages".
 
Old 01-25-2010, 03:58 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I found this site www.bollyfm.net that plays music online using a swf player.There should be some way to get the music after all firefox downloads the song being played.
What do you say ?
It is just my curiosity.
 
Old 01-25-2010, 07:50 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
i got it with somebody's help

You can clear cache (through tools>clear private data) before playing song or video then you get less results to analyze.
(NOTE:Be careful.Select only cache otherwise you may lose your saved passwords & browsing history)

(5)The long way:
I found the song of 4.5 MB named as A1E89355d01 in .mozilla/firefox/m0p26gqk.default/Cache/ folder.
i will suggest
$find ~/.mozilla -type f -size +1M
(1)You should have some idea of file size to further reduce results.
(2)Use trid(http://mark0.net/soft-trid-e.html) on results to determine file type.

(6)Another better option is run in address bar
about:cache?device=disk
Nothing weird just checking in disk cache device search 'mp3' & click on that key then see "file on disk" entry.
Also you can see the mp3 location if you want to wget though no reason to do it because already on disk so why bother.That's it.

(7)I also found out flv file.But here it had 'youtube or whatever your website name is' in keyname.
then rest is same as (6).

I just wanted to explore.It is fun.
Thank You.

Last edited by sumeet inani; 01-25-2010 at 08:22 AM.
 
Old 01-25-2010, 07:56 AM   #5
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
guys! it's very simple!

Just install an add-on DownloadHelper to your Firefox. Very easy to use, very helpful! It will make it possible to download both audio and video files, playing online in your browser.

Cheers
 
Old 01-25-2010, 08:58 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I agree that downloadhelper
(1)got mp3 from
http://www.bollyfm.net/bollyfm/mid/1...8646/song.html
(2)but failed to get audio file from
http://player.pz10.com/api/?song=8304

Last edited by sumeet inani; 01-25-2010 at 09:10 AM.
 
Old 01-25-2010, 11:02 AM   #7
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
Quote:
Originally Posted by sumeet inani View Post
I agree that downloadhelper
(1)got mp3 from
http://www.bollyfm.net/bollyfm/mid/1...8646/song.html
(2)but failed to get audio file from
http://player.pz10.com/api/?song=8304
A few days ago I have noticed for the 1st time that DownloadHelper couldn't download video from http://www.khl.ru/video/

Maybe there's some kind of video-protection? And the same about your second link...
 
Old 01-27-2010, 08:11 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
In http://www.khl.ru/video/ and http://player.pz10.com/api/?song=8304.
The way is to clear cache before playing the video or music then you can use my (6) way to get that audio or video.
Because whatever you play it ultimately is downloaded by the browser.Just a matter of digging out from cache.
 
Old 02-02-2010, 09:16 AM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I could not get mp3 song from
http://www.dhingana.com/play/sun-sun...D/pop/1?beta=0

In firefox
I found out that it stores the song in memory cache instead of disk cache.
In case of disk cache you see the location of file on hard disk hence no problem
But here the data is in memory .
How can I get it ?
If I click on key it says 'access denied'
if I save the key link then I get the html file displaying key , fetch count , whole file in hex mode etc. etc. not the 2686247 byte mp3 file.
If I wget the link then I just get a 13byte file.
So what can I do ?
Surprise surprise
in Internet explorer
I found that temporary files were stored in
C:\Users\Guest1\AppData\Local\Microsoft\Windows\Temporary Internet Files folder
In this folder I found .php file which has to be just renamed to mp3 after whole song has been buffered.
I wish firefox could also get the needed file as I rate it above internet explorer.
What do you suggest ?

Last edited by sumeet inani; 02-03-2010 at 03:07 AM.
 
Old 04-04-2010, 02:46 AM   #10
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Now I cannot get song being played at
http://music.guruji.com/redirects/re...i&weakresult=0
via flash player.
Any suggestions ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how that mplayer remembers the position of the MP3 we were listening, after reboot? frenchn00b Linux - General 1 03-31-2009 03:50 PM
Newbie question on writing CDs and listening mp3 songs. nasingh Linux - Software 1 04-11-2004 07:19 PM
Playing enemy-territory *AND* listening mp3 michelbehr Linux - Software 2 03-17-2004 06:26 AM
mp3 sites? alwayslearning Linux - Software 1 03-17-2003 02:55 PM
mp3 download sites for linux pekuekfir Linux - Newbie 18 01-16-2002 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration