CH Plaintext HIT Export

clickhappier
2014-12-22T08:35:33Z

Export HIT information in multi-line plain text format.

Important note (same as IRC Export): Same as Great HIT Export, you should ensure that this script runs before any preview/accept/hoard-type link-splitting/changing scripts in your Greasemonkey/Tampermonkey execution order. And if you have been using Preview and Accept MTurk HITs specifically, it may not work regardless of the execution order; if so, change to Cristo's Preview, Accept and Hoard and it should work.

Based on 'IRC Export (reformatted output mod)', I made this to export HIT information in multi-line plain text format, for saving in notes textfiles. It adds a button labeled 'TXT' next to each HIT title in an MTurk search results list, just like the 'vB' button added by the forum export script Great HIT Export (and the 'IRC' button added by the IRC export script). Note that GHE opens a display showing what you're copying and then you have to press ctrl+c yourself; this script (like the IRC export script) just copies the information to your clipboard directly after you click its button, and you should go paste it somewhere to see it. Update: as of v1.3c, Plaintext Export opens a dialog box like GHE's too!

I save copies of stuff like survey consent info as notes in text files, under a copy of the HIT info to know where it came, and this userscript saves time to not have to manually edit/adjust the formatting of the HIT info the way I had been. Most people don't do this much recordkeeping (though maybe this will inspire you to start? ;-) ) and so may not have much use/need for this, but here it is if anyone else wants it. Like some people have found with the IRC Export script, its output may be useful for other purposes too (it is Reddit-ready if anyone wants to use it there; there are two spaces at the end of each line, which tells Reddit to display the lines as separate lines instead of smushing them all together).

Here's an example of what the output looks like (ignore the line-wrapping):

12/21/2014 23:36 PT
HIT: Interested in opting-in to a special experiment? (Part one of a two-part HIT) - https://www.mturk.com/mturk/preview?groupId=35HIM1LU1GANC8QQPHGSJC2B7UW5I4
Requester: Sergey Schmidt - https://www.mturk.com/mturk/searchbar?selectedSearchType=hitgroups&requesterId=A1IFMRTRLY6CMX
TO Ratings: Pay=4.0 Fair=4.2 Comm=2.5 Speed=4.4 - http://turkopticon.ucsd.edu/A1IFMRTRLY6CMX
Time Allotted: 10 minutes
Reward: $0.00
HITs Available: 1
Description: "We had to relaunch this because of an error. Redo this HIT if you already did it and are still interested."
Keywords: none
Qualifications: Total approved HITs is not less than 1
HIT approval rate (%) is not less than 90
Location is US

and another example:

12/21/2014 23:37 PT
HIT: Extract summary information from 6 shopping receipts (Date) - https://www.mturk.com/mturk/preview?groupId=3TJJ8HSJVIOUEEITVOXS8LA5DWZ82W
Requester: Jon Brelig - https://www.mturk.com/mturk/searchbar?selectedSearchType=hitgroups&requesterId=A3RRY7BIF8JDCS
TO Ratings: Pay=2.4 Fair=3.1 Comm=2.5 Speed=2.9 - http://turkopticon.ucsd.edu/A3RRY7BIF8JDCS
Time Allotted: 24 minutes
Reward: $0.02
HITs Available: 41
Description: "Extract the business name, total, & transaction date from 6 shopping receipts"
Keywords: "image, receipt, categorize, transcribe, extract, digitize, data, entry, transcription, text, easy, qualification, secure, jon, brelig, prod"
Qualifications: none

(Yes, it is automatically figuring out the Amazon date/time (PT) at the time you copy the export, based on your computer's local time, and considering US Daylight Savings status!)

As of v1.4c, this script can be used with 'mmmturkeybacon Last HITs Previewed', if 'Last HITs Previewed' comes first in your execution order.

v1.5c added error handling so script shouldn't hang when servers are unreachable, and failover to main TO server when mirror is down.

See also: my MTG thread post; and related scripts IRC Export (reformatted output mod) and the forum export Great HIT Export

For many more MTurk-related userscripts, see the Turking Scripts set.