laurindel Posted January 24, 2013 Share Posted January 24, 2013 Hi. Here is a workflow that I made to search the iTunes Store. Simple search that show results in iTunes, i don't know how to show results in Alfred bar. Its so simple, but so useful if use the itunes store... Download Here o via AlfPT drking 1 Link to comment
phyllisstein Posted January 25, 2013 Share Posted January 25, 2013 Neat! That's very handy. The problem I see with using Alfred's feedback to display the results is that it doesn't open an actual web page that can be parsed by a script, but opens iTunes instead. I think it's great as-is, though. Link to comment
palobo Posted January 25, 2013 Share Posted January 25, 2013 Cool, you can check my App Store Linker workflow for an Idea on generating the feedback for Alfred from app store results. Link to comment
laurindel Posted January 25, 2013 Author Share Posted January 25, 2013 Cool, you can check my App Store Linker workflow for an Idea on generating the feedback for Alfred from app store results. Ok, I have no idea of this, but I'll try Link to comment
phyllisstein Posted January 25, 2013 Share Posted January 25, 2013 Cool, you can check my App Store Linker workflow for an Idea on generating the feedback for Alfred from app store results. I had literally no idea the iTunes Store had a search API! Here's what I threw together using your script as a jumping-off point: http://d.pr/f/A0MF Only problem is, I can't figure out which of the result URLs would just open iTunes, rather than a Store page. Edit: Found the solution, which was changing the "https" at the beginning of each link to "itms". I'm going to post another thread about this and update AlfPT. Link to comment
palobo Posted January 25, 2013 Share Posted January 25, 2013 I had literally no idea the iTunes Store had a search API! Here's what I threw together using your script as a jumping-off point: http://d.pr/f/A0MF Only problem is, I can't figure out which of the result URLs would just open iTunes, rather than a Store page. Edit: Found the solution, which was changing the "https" at the beginning of each link to "itms". I'm going to post another thread about this and update AlfPT. Hehe, way more elegant than my crappy code. I've got to step up and learn me better python Link to comment
phyllisstein Posted January 25, 2013 Share Posted January 25, 2013 Hehe, way more elegant than my crappy code. I've got to step up and learn me better python Hah, thanks, but don't mistake stupidity-driven simplicity for elegance ;-). I didn't even think to use `xml.etree` before seeing your script, and had been instead using ridiculous `append`, `join`, and `print` statements. I'm thinking now of screwing my courage to the sticking-place and creating a small Alfred module for Python. What would you want to see in it? All I've come up with is a results object, which is potentially too easy to be useful, and a scraper, which is potentially too hard. Link to comment
hailalistair Posted April 16, 2013 Share Posted April 16, 2013 (edited) This is great! Thanks Edited April 18, 2013 by hailalistair Link to comment
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