<commit_before>casper = require('casper').create()

message = casper.cli.options.message

casper.start 'http://cryptonote.org/', ->
	@evaluate( (message)->
		$message = $ '#unencrypted-message'
		$message.val(message).trigger 'keyup'
		$('form').submit()
	,
		message: message
	)
casper.then ->
	url = @evaluate ->
		$('.message-link:eq(0)').text().trim()
	@echo url

casper.run()<commit_msg>updated for casperjs 1.0.3, phantom 1.9.1. use https<commit_after>casper = require('casper').create()

message = casper.cli.options.message

casper.start 'https://cryptonote.org/', ->
	@evaluate( (message)->
		$message = $ '#unencrypted-message'
		$message.val(message).trigger 'keyup'
		$('form').submit()
	,
		message: message
	)

casper.waitFor -> 
	@getCurrentUrl() == 'https://cryptonote.org/messages'

casper.then ->
	url = @evaluate ->
		$('.message-link:eq(0)').text().trim()
	@echo url

casper.run()
{'fraction_non_alphanumeric': 0.21, 'fraction_numerical': 0.008888888888888889, 'mean_word_length': 4.238372093023256, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6227462', 'n_tokens_mistral': 355, 'n_tokens_neox': 333, 'n_words': 53}