Can I use automator to pull contact info from Craigslist? I am new to automator, but I am thinking it is possible for sure.

Hello all!
I would like to be able to reply to a large amount of Craigslist emails by pulling the contact info from Craigslist using Automator and putting the emails in a text document.
I have Automator set to:
1. Open Safari
2. Open the Craigslist section an city I want.
3. Pull a list of active listings URL'S
Beyond that, I can not figure out how to have Automator open one page at a time and click the contact info button and then copy the  needed info into my text document.
I can have it open all 150 links at one time.....lol but that wont work on my Macbook!!!!
Help please!!!

Hello
You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
if f ends with "/" then set f to f's text 1 thru -2
do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
use strict;
use open IN => ':crlf';
chdir $ARGV[0] or die qq($!);
local $/ = qq(\\0);
my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
local $/ = qq(\\n);
#     CSV spec
#     - record separator is CRLF
#     - field separator is comma
#     - every field is quoted
#     - text encoding is UTF-8
local $\\ = qq(\\015\\012);    # CRLF
local $, = qq(,);            # COMMA
# print column header row
my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
# print data row per each file
while (@ff) {
    my $f = shift @ff;    # file path
    if ( ! open(IN, '<', $f) ) {
        warn qq(Failed to open $f: $!);
        next;
    $f =~ s%^.*/%%og;    # file name
    @dd = ('', $f, '', '', '', '');
    while (<IN>) {
        chomp;
        $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
        ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
        ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
        ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
        ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
        last unless grep { /^$/ } @dd;
    close IN;
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
EOF
Hope this may help,
H

Similar Messages

  • TS2972 can I use home sharing to transfer iTunes from old computer to new computer?

    can I use home sharing to transfer iTunes from old computer to new computer?

    You are trying to use home sharing, you are logged into the same account for sharing on both computers (and they are connected to the same wifi network), and what happens when you try to copy your library ? Can you update your iTunes so that they are the same on both ?

  • TS4345 Can I use Migration Assistant to get info from a Macbook Pro that has a dead screen?

    I have a MacBook Pro 17 that the screen died on. I have a new MacBook Pro coming tomorrow and need to try to find a way to get the info from the old one to the new one. From the online info I saw on Migration Assist you need both screens to work to get a authentification code. Is there any work around? I don't know what system the old one is and have no idea what type of sharing may have been on or off.

    AFAIK, you can use the Setup Assistant on first boot w/o any authentication code or sharing stuff. See Pondini's Setup New Mac guide for details.

  • Can I use TM to copy my iTunes from old Mac to new Mac ?

    I just bought a MB Air and I have 30 GB of music on my MB Pro. Can I use the TM backup from the MBP to transfer the data to my MB Air ?
    Unfortunately Migration Assistant doesnt allow you to be too specific regarding files etc.
    Thanks

    phil_a wrote:
    Yes I understood that from your first post. I thought I was missing something in Migration that would allow me to specify the files to transfer.
    No, it doesn't.
    Where does the plist file go and whats it for ?
    it goes to the same place on the new computer as it was on the old one. It's the preference file for itunes. with it once you copy your itunes folder and start itunes, itunes will look exactly as it did on the old computer.

  • Unable to Retrieve Contact Info from synch server - Gator wrote to try renaming file but I can't manage to find the pathway on my Win 7 computer for that file! got as far as my name under user but can't get to application data.  Can someone help?

    Hi, going crazy.  Can't get this fixed.  Unable to retrieve contact info from synch server.  I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
    I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step....  any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
    Pinina in Phoenix, Az

    Hi, going crazy.  Can't get this fixed.  Unable to retrieve contact info from synch server.  I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
    I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step....  any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
    Pinina in Phoenix, Az

  • Which HRMS API can be used to hire a Contact?

    In either 11i and/or R12.1.3, who knows which HRMS API(s) can be used to hire a contact? That is, a "person" that exists in the system but is not an ex-employee, e.g., someone's spouse, or child. This is a person that exists in PER_ALL_PEOPLE_F, with a SYSTEM_PERSON_TYPE of OTHER. We are not using iRec or any applicant functionality, so I cannot create an application for the Contact and then hire the Applicant. Instead, my requirement is to directly hire the Contact.
    I am using the following APIs for other scenarios, but haven't figured out the Contact hire yet:
    HR_EMPLOYEE_API.CREATE_US_EMPLOYEE - using this API for brand new hires that do not currently exist in the database
    HR_EMPLOYEE_API.RE_HIRE_EX_EMPLOYEE - using this API for rehiring ex-employees that already exist as a person in the database
    One more note, I am able to accomplish this task with no problems from the front-end, so I expect there must be a way to do the same from the back-end.
    e.g.,
    1) Navigate to Person Form
    2) Find Contact
    3) Change Action to "Create Employment"
    4) Choose Person Type "Employee"
    5) Save, which successfully hires the Contact and creates the employee record
    Please help!
    Thanks,
    Jason Genovese

    Ahhh! I just took another look Clives suggestion for using at HR_EMPLOYEE_API.HIRE_INTO_JOB. While the Oracle iRep only shows the 1 HIRE_INTO_JOB procedure, a look in the database at the package uncovers a second, overloaded, HIRE_INTO_JOB procedure that should address my requirement. I believe this will work, but I'll test this out and post back with my results. Here are excerpts from the 2 signatures. The second (new) overloaded procedure should work:
    -- |------------------------------< hire_into_job >---------------------------|
    -- {Start Of Comments}
    * This API hires an applicant as an employee.
    * This API converts a person of type Applicant to a person of type Employee
    * (EMP).
    * <p><b>Prerequisites</b><br>
    * The applicant must exist in the relevant business group and must have an
    * applicant assignment with the assignment status Accepted. If person_type_id
    * is supplied, it must have a corresponding system person type of EMP and must
    * be active in the same business group as the applicant being changed to
    * employee.
    * <p><b>Post Success</b><br>
    * The applicant has been successfully hired as an employee with a default
    * employee assignment.
    * <p><b>Post Failure</b><br>
    * The applicant is not hired as an employee and an error is raised.
    -- {End Of Comments}
    PROCEDURE hire_into_job
    (p_validate IN BOOLEAN DEFAULT FALSE
    ,p_effective_date IN DATE
    ,p_person_id IN NUMBER
    ,p_object_version_number IN OUT NOCOPY NUMBER
    ,p_employee_number IN OUT NOCOPY VARCHAR2
    ,p_datetrack_update_mode IN VARCHAR2 DEFAULT NULL
    ,p_person_type_id IN NUMBER DEFAULT NULL
    ,p_national_identifier IN VARCHAR2 DEFAULT NULL
    ,p_per_information7 IN VARCHAR2 DEFAULT NULL --3414274
    ,p_effective_start_date OUT NOCOPY DATE
    ,p_effective_end_date OUT NOCOPY DATE
    ,p_assign_payroll_warning OUT NOCOPY BOOLEAN
    ,p_orig_hire_warning OUT NOCOPY BOOLEAN
    -- |----------------------------< hire_into_job - new >------------------------|
    -- {Start Of Comments}
    -- Description:
    -- This business process converts a person of type EX_APL, EX_EMP or OTHER to a type of EMP.
    -- This is achieved by:
    -- o Setting the person type to EMP
    -- o Creating a period of service
    -- o Creating a default employee assignment
    -- o Repopulating the security lists
    -- Post Success:
    -- The API updates the person and application and set the following out
    -- parameters:
    -- Name Type Description
    -- p_per_object_version_number number If p_validate is false, set to
    -- the new version number of the
    -- person record. If p_validate is
    -- true, set to the value passed in.
    -- p_employee_number number If p_validate is false, set to the
    -- employee number of the person. If
    -- p_validate is true, set to the
    -- value passed in.
    -- p_assignment_id number If p_validate is false, set to the
    -- assignment_id for the person.
    -- p_effective_start_date date If p_validate is false, set to
    -- the effective start date of the
    -- updated person record. If
    -- p_validate is true, set to null.
    -- p_effective_end_date date If p_validate is false, set to
    -- the effective end date of the
    -- updated person record. If
    -- p_validate is true, set to null.
    -- p_assign_payroll_warning boolean Set to true if the person's date of
    -- birth has not been set. Set to
    -- false if the date of birth has been
    -- entered. Indicates if it will be
    -- possible to set the payroll
    -- component on any of this person's
    -- assignments.
    -- p_orig_hire_warning boolean Set to true if the original date of
    -- hire is not null and the person
    -- type is not EMP, EMP_APL, EX_EMP or
    -- EX_EMP_APL.
    -- Post Failure:
    -- The API does not update the person and period of service and raises an error.
    -- Access Status:
    -- Public.
    -- {End Of Comments}
    PROCEDURE hire_into_job
    (p_validate IN BOOLEAN DEFAULT FALSE
    ,p_effective_date IN DATE
    ,p_person_id IN NUMBER
    ,p_object_version_number IN OUT NOCOPY NUMBER
    ,p_employee_number IN OUT NOCOPY VARCHAR2
    ,p_datetrack_update_mode IN VARCHAR2 DEFAULT NULL
    ,p_person_type_id IN NUMBER DEFAULT NULL
    ,p_national_identifier IN VARCHAR2 DEFAULT NULL
    ,p_per_information7 IN VARCHAR2 DEFAULT NULL --3414274
    ,p_assignment_id OUT NOCOPY NUMBER -- Bug#3919096
    ,p_effective_start_date OUT NOCOPY DATE
    ,p_effective_end_date OUT NOCOPY DATE
    ,p_assign_payroll_warning OUT NOCOPY BOOLEAN
    ,p_orig_hire_warning OUT NOCOPY BOOLEAN
    );

  • Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?

    Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?
    regards,
    Jan

    Thanks! One more question ..... Will I have to enter appointments on an iCloud default calendar by logging in to my iCloud account every time, or can I just enter data on calendars in my 2 devices?

  • How can I undo a back up that combined the contact info from 2 different phones

    how can I undo a back up that combined the contact info from 2 different phones.

    Once you merge contacts with iCloud or any back up for that matter, it will be merged until you go through and decifer which contacts you would like to keep.
    Was it an iCloud backup?

  • IPhone 5 16GB iOS8.3 i'm a new user on iPhone. My sister gave me her old iPhone that she bought in UK, she she it here in the Philippines and i'm having problems because i can't use it. i already restored it to set it up new but i couldn't still acti

    iPhone 5
    16GB
    iOS8.3
    i'm a new user on iPhone. My sister gave me her old iPhone that she bought in UK, she she it here in the Philippines and i'm having problems because i can't use it. i already restored it to set it up new but i couldn't still activate it. It says, " Your iPhone could not be activated because the activation server cannot be reached." and "The SIM card that you currently have installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information."
    what should i do for me to be able to use it?
    please help!
    Thank you very much!

    It is locked to your sisters carrier.
    She would have to ask her carrier if they unlock iPhones and if she qualifies for this service.

  • I have lost my contact info from my iPod touch gen 1

    I have lost my contact info from my iPod touch gen 1 and can't replace from my iMac with OSX 10.7.3 can some one help please

    WWhat are you syncing your contacts with? A supported application on the computer or cloud service? They should still be there.

  • Got Tiger & pulled iCal info from Panther.....Help!

    When I pulled the info from my Panther backup files & put in iCal, it brought all my calendars with all the events back, but it changed the order & the colors. It doesn't seem like a big deal, but I have those colors as themes throughout other applications as well.
    I pasted in the iCal folder from Library>Application Support. How can I control which calendar is which color, etc? Thanks!

    Henry,
    Click on your selected calendar, then Click the Info button on the lower right side of the iCal Window, and the window which opens will allow you to change the color in the color window drop down menu which is located in the upper right hand corner of the Info Window.
    Just drag them to change the order.
    ;~)

  • MOVE CONTACT INFO FROM MY IPHONE 3 TO MY IPHONE 4S?

    HOW DO I MOVE CONTACT INFO FROM MY IPHONE 3 TO MY IPHONE 4S?

    If you've been using a mac to sync, then the contacts may be in your Apple Address Book.  If so, then connect the iPhone 4s to your mac and in the device settings, indicate that you want the address book to sync with the iphone.
    Oh,  your caps lock key is sticking.  Upper case is considered shouting.

  • I have copied my CDs into iTunes  (currently running v11) to play on my iPod.  I have now bought a non Apple mp3 player to use when I am out running.  How can I copy the many tracks I want from iTunes onto the new player?

    I have copied my CDs into iTunes  (currently running v11) to play on my iPod.  I have now bought a non Apple mp3 player to use when I am out running.  How can I copy the many tracks I want from iTunes onto the new player?
    Thanks

    I tried Notpod but can't get it to work.  Part of the problem, I suspect, is that I can't create a folder on my player (a SanDisk Clip+).  I also can't do this in Windows Explorer.  Whilst I can see the Clip+ in Explorer, the option to create a new folder isn't there.
    The error mesag I get in Notpod is:
    "Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  If you click Quit the application will close immediately.
    InvalidArgument=Value of '0' is not valid for 'SelctedIndex'. Parameter name: SelectedIndex"
    Then, when I plug the Clip+ into a USB port, iTunes thinks it is my iPad - which is because, I guess, Notpod hasn't worked.
    I can drag and drop files from the Music folder where my iTunes tracks are stored onto the Clip+ and they get converted but I'd rather synchronise a Playlist from iTunes if I can.
    Thanks anyone who can help

  • How can I use microsoft word, power point and those apps in my new iMac ? i bought this iMac yesterday so am new on tho and i would like to know

    how can I use microsoft word, power point and those apps in my new iMac ? i bought this iMac yesterday so am new on tho and i would like to know

    If you absolutely must have the Microsoft applications, you can purchase and download them from http://microsoft.com/mac.
    Free software suites LibreOffice and OpenOffice offer similar functionality (word processing and spreadsheets).
    Or you could do worse than look at Apple's Pages, Numbers and Keynote, which should already be installed in your Mac and can export to Microsoft formats if need be.
    Matt

  • I just purchased an iMac.  How can I use apps purchased on my iPhone and iPad on my new laptop?

    I just purchased an iMac.  How can I use apps purchased on my iPhone and iPad on my new laptop?

    1) Congratulations on purchaing an iMac. But an iMac is not considered a laptop.
    2) Apps you bought for you iPhone and iPad can interchange with each other, but can NOT run on an Imac or a MacBook.
    You will have to buy the same title again from the Mac App Store. When you do, you can run them on your iMac and your MacBook.

Maybe you are looking for