<commit_before>def news_pull
	begin
		$currentnews = open('http://mho.qq.com/webplat/info/news_version3/5499/5500/5501/m4027/list_1.shtml').read
		#$currentnews.gsub!(/.*?(?=<ul class="newsList">)/im, "")
		#$currentnews.delete! "\s"
		#File.write('bot/newnews', $currentnews)
		#puts "News gathered!"
	rescue OpenURI::HTTPError => ex
		puts "News url invalid"
	end
end<commit_msg>pass invalid url for testing<commit_after>def news_pull
	begin
		$currentnews = open('http://mh0.qq.com/webplat/info/news_version3/5499/5500/5501/m4027/list_1.shtml').read
		#$currentnews.gsub!(/.*?(?=<ul class="newsList">)/im, "")
		#$currentnews.delete! "\s"
		#File.write('bot/newnews', $currentnews)
		#puts "News gathered!"
	rescue OpenURI::HTTPError => ex
		puts "News url invalid"
	end
end
{'fraction_non_alphanumeric': 0.1879021879021879, 'fraction_numerical': 0.047619047619047616, 'mean_word_length': 5.0310077519379846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '1656331', 'n_tokens_mistral': 338, 'n_tokens_neox': 312, 'n_words': 49}