Help Scraping Photo Titles from Flickr

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
sleepysentry
Posts: 5
Joined: Thu Feb 19, 2015 3:22 pm
Contact:

Help Scraping Photo Titles from Flickr

Post by sleepysentry » Mon Feb 15, 2016 2:32 pm

I am working on a project to help a photographer archive all of his photo info (namely titles) from Flickr. Here's an example:
https://www.flickr.com/photos/harold_da ... o9j8-7mTZU

I need a script that can:
1. Grab the photo title
2. Grab the photo URL
3. Save everything to a .csv file

Here's what I have so far for the photo title... it is grabbing "#EANF#" each time.

Code: Select all

VERSION BUILD=8920312 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747
TAG POS=R1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747* EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=/Users/daniel/Desktop FILE=harold.csv
Any idea how I can get this to work?
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Help Scraping Photo Titles from Flickr

Post by chivracq » Mon Feb 15, 2016 2:48 pm

sleepysentry wrote:I am working on a project to help a photographer archive all of his photo info (namely titles) from Flickr. Here's an example:
https://www.flickr.com/photos/harold_da ... o9j8-7mTZU

I need a script that can:
1. Grab the photo title
2. Grab the photo URL
3. Save everything to a .csv file

Here's what I have so far for the photo title... it is grabbing "#EANF#" each time.

Code: Select all

VERSION BUILD=8920312 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747
TAG POS=R1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747* EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=/Users/daniel/Desktop FILE=harold.csv
Any idea how I can get this to work?
Yep but sorry, you didn't follow up on any of your 2 previous Threads except for adding a quick "EDIT-- Problem solved!" in the second one without sharing your Solution like I asked, so that doesn't motivate much to want to help you again...

And I've already asked you to mention your FCI as well when you open a Thread (Required Info for me to react to Threads anyway) but you didn't comply and again in this Current Thread, and your Config is a bit "strange" anyway as you seem to be using some a bit older Version of iMacros for FF...

So good luck with other (Advanced) Users..., it's nice of you to want to help other People with your Scripts but you need to use the Forum a bit correctly for me to want to help you... 8)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
sleepysentry
Posts: 5
Joined: Thu Feb 19, 2015 3:22 pm
Contact:

Re: Help Scraping Photo Titles from Flickr

Post by sleepysentry » Mon Feb 15, 2016 9:32 pm

chivracq wrote:
sleepysentry wrote:I am working on a project to help a photographer archive all of his photo info (namely titles) from Flickr. Here's an example:
https://www.flickr.com/photos/harold_da ... o9j8-7mTZU

I need a script that can:
1. Grab the photo title
2. Grab the photo URL
3. Save everything to a .csv file

Here's what I have so far for the photo title... it is grabbing "#EANF#" each time.

Code: Select all

VERSION BUILD=8920312 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
TAG POS=1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747
TAG POS=R1 TYPE=H1 ATTR=CLASS:<SP>meta-field<SP>photo-title<SP>&&ID:yui_3_16_0_1_1455545478543_1747* EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER=/Users/daniel/Desktop FILE=harold.csv
Any idea how I can get this to work?
Yep but sorry, you didn't follow up on any of your 2 previous Threads except for adding a quick "EDIT-- Problem solved!" in the second one without sharing your Solution like I asked, so that doesn't motivate much to want to help you again...

And I've already asked you to mention your FCI as well when you open a Thread (Required Info for me to react to Threads anyway) but you didn't comply and again in this Current Thread, and your Config is a bit "strange" anyway as you seem to be using some a bit older Version of iMacros for FF...

So good luck with other (Advanced) Users..., it's nice of you to want to help other People with your Scripts but you need to use the Forum a bit correctly for me to want to help you... 8)
I will figure out the solution and post it. Would that make you happy?
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Help Scraping Photo Titles from Flickr

Post by chivracq » Tue Feb 16, 2016 3:13 am

sleepysentry wrote:I will figure out the solution and post it. Would that make you happy?
If you were asking on the Forum, I'm afraid you won't "figure out the solution", finish your 2 previous Threads a bit neatly (= useful for other Users searching the Forum with a similar Qt/Pb), and I'll be willing to do some Digging in your Qt/Pb in this Current Thread, if you posted all required Info at least I hope in your OP, I won't be asking 2(0) times...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Post Reply