Dizzy Posted March 7, 2013 Share Posted March 7, 2013 Hi, i want to grab some music from Pandora - and - the right title and the cover So, here is an example. When i grab the music i'll get mp3 files with date and time. When fineshed - the next record goes on and then i want to rename the last mp3 file (or maybe "tag" it?). Did anyone have a solution for this? Greets Dizzy Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 7, 2013 Moderators Share Posted March 7, 2013 (edited) Dizzy, did you notice the piece at the top that states "This is not a general support forum!"? If you're having issues, you need to ask this in the General Help and Support forum Edited March 7, 2013 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Dizzy Posted March 8, 2013 Author Share Posted March 8, 2013 Hi JLogan3o13, sorry, if i was in the wrong section. I thought i was in the right one. OK - as i can see, my question is in "General Help and Support". Can anyone give me a hand to solve my problem? I can't grab the title, artist and cover from the site Greets Dizzy Link to comment Share on other sites More sharing options...
Nessie Posted March 8, 2013 Share Posted March 8, 2013 Can you give me in a txt the source of the page that contain the data that you want? This website isn't reachable for userlocated outside of the U.S., Australia and New Zealand. Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 8, 2013 Moderators Share Posted March 8, 2013 Dizzy,as i can see, my question is in "General Help and Support"That is because I moved it there - originally you had posted it in "Examples" just as JLogan3o13 said. M23 Dizzy 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Dizzy Posted March 8, 2013 Author Share Posted March 8, 2013 (edited) That is because I moved it there - originally you had posted it in "Examples" just as JLogan3o13 said.I know that there are some mystic operations in the background .Thanks Melba23 Edited March 8, 2013 by Dizzy Link to comment Share on other sites More sharing options...
Nessie Posted March 8, 2013 Share Posted March 8, 2013 I know that there are some mystic operations in the background .Thanks Melba23Read my previous message Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Dizzy Posted March 8, 2013 Author Share Posted March 8, 2013 Hi Nessie, sorry, i didn't see that. Here is the page .. And the actual cover ... I can't find anything like this in the code - maybe you? Thanks! Greets DizzyPage.zip Link to comment Share on other sites More sharing options...
Dizzy Posted March 8, 2013 Author Share Posted March 8, 2013 And Nessie,just for you (and all the others): You can get the page.If you use Firefox, then look for ProxMate - unblock the Internet!Install it - restart your Firefox and try the url: www.pandora.comLet me know what happens GreetsDizzy Link to comment Share on other sites More sharing options...
Nessie Posted March 8, 2013 Share Posted March 8, 2013 (edited) Yes i know about proxy and other stuff to unlock that . I have seen what the have done, they are using jquery to show/hyde html that's why you dont see the required info in the html. I'll have a look and let you know Hi! Edited March 8, 2013 by Nessie My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Dizzy Posted March 11, 2013 Author Share Posted March 11, 2013 Hi Nessie, can you grab the information? Greets Dizzy Link to comment Share on other sites More sharing options...
Nessie Posted March 11, 2013 Share Posted March 11, 2013 (edited) Sorry i forgot about you I dont have find yet a good proxy to use in my autoit script, but i have understand how to grab all the info that you need Pandora give to you this html code: <div style="display: block;" class="contents"> <div class="slideDragContainer"> <div class="slideDrag"></div> <div class="slideDragHandle ui-draggable"></div> </div> <div class="info"> <div class="buttons"> <div class="shareButton"></div> <div class="buyButton"></div> </div> <img style="display: none;" class="thumb" id="thumbup" src="/img/content-area/thumbup-watermark.png"> <img style="display: none;" class="thumb" id="thumbdown" src="/img/content-area/thumbdown-watermark.png"> <div class="trackData"> <div><a address="true" href="http://www.pandora.com/pink/funhouse-explicit/sober" class="songTitle">Sober</a></div> <div><i class="byText">by</i> <a address="true" href="http://www.pandora.com/pink" class="artistSummary">Pink</a></div> <div><i>on</i> <a address="true" href="http://www.pandora.com/pink/funhouse-explicit" class="albumTitle">Funhouse (Explicit)</a></div> </div> </div> <div style="display: none;" class="audioAdInfo"> <div class="adText">Your music will be right back…</div> <div class="whyAdsButton"></div> </div> </div> This is the script that can grab this info: #include <Array.au3> $String = '<div style="display: block;" class="contents">' & _ '<div class="slideDragContainer">' & _ ' <div class = "slideDrag"></div>' & _ ' <div class = "slideDragHandle ui-draggable"></div>' & _ '</div>' & _ ' <div class = "info">' & _ ' <div class = "buttons">' & _ ' <div class = "shareButton"></div>' & _ ' <div class = "buyButton"></div>' & _ '</div>' & _ ' <img style = "display: none;" class = "thumb" id = "thumbup" src = "/img/content-area/thumbup-watermark.png">' & _ ' <img style = "display: none;" class = "thumb" id = "thumbdown" src = "/img/content-area/thumbdown-watermark.png">' & _ '<div class = "trackData">' & _ ' <div> <a address = "true" href = "http://www.pandora.com/pink/funhouse-explicit/sober" class = "songTitle">Sober</a> </div>' & _ ' <div> <i class = "byText">by</i> <a address = "true" href = "http://www.pandora.com/pink" class = "artistSummary">Pink</a> </div>' & _ ' <div> <i> on</i> <a address = "true" href = "http://www.pandora.com/pink/funhouse-explicit" class = "albumTitle">Funhouse(Explicit)</a> </div>' & _ '</div>' & _ '</div>' & _ ' <div style = "display: none;" class = "audioAdInfo">' & _ ' <div class = "adText">Your music will be right back…</div>' & _ ' <div class = "whyAdsButton"></div>' & _ '</div>' & _ '</div> ' $sArtist = StringRegExp($String, 'artistSummary">(.*?)</a>', 3) _ArrayDisplay($sArtist) $sSong = StringRegExp($String, 'songTitle">(.*?)</a>', 3) _ArrayDisplay($sSong) $sAlbum = StringRegExp($String, 'albumTitle">(.*?)</a>', 3) _ArrayDisplay($sAlbum) As i don't have a proxy on ie i can use the function InetRead, InetGet, etc... You have just to simple to grab the source from a pandora link like (http://www.pandora.com/station/play/1374125137553095054) save you source in a variable or file and the use the RegExp provided in the previous script Hi and goodluck! Edited March 11, 2013 by Nessie My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now