Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-19-2012, 09:28 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
Using CURL command to login Pandora and grep text

Hey there,

I am trying to use curl command to login to my account, go to my 'Liked Songs' and use lynx to dump the page then grep to get out the song name/artists for my 2300 liked songs.

My first step is going to be logging in with curl I believe.

can someone please help me with that step. I have looked for tutorials but found none I could understand. Thanks!
Old 08-20-2012, 03:47 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You would have to know the backend of Pandora for that to work, as far as I know Pandora has not released an API or any documentation on how to perform logins from external sources. This will be your first step, find and identify the method used to login.

Sure, I can tell you how to use curl to post data to but we have no idea what data it needs, what the name of the user id and password fields that it's looking for or whether or not it's even done via a POST request.
Old 08-24-2012, 11:20 AM   #3
Registered: Aug 2012
Location: /home/byannoni
Distribution: Arch
Posts: 128

Rep: Reputation: 36
The source of Pianobar might help, since it has this capability (sort of). It is in C though.


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
[SOLVED] curl (or something) that just gets text ezekieldas Linux - Newbie 3 05-24-2012 05:59 PM
grep a text in files and print the file name who don't contain such text whossa Linux - Newbie 5 04-13-2012 08:49 AM
[SOLVED] Bash command to 'cut' text into another text file & modifying text. velgasius Programming 4 10-17-2011 05:55 AM
Download images from text file using curl Sam71 Programming 4 04-19-2011 05:59 AM
Archive Downloader Using Curl Grep Cygwin Nimbuz Programming 1 04-19-2008 08:53 PM > Forums > Linux Forums > Linux - Newbie

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

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