<commit_before>require "net/https"
require "uri"
	
uri = URI.parse("https://www.bondora.com/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Get.new(uri.request_uri)

response = http.request(request)
#puts response.body
#puts response.status

regex=/(href="\/[^"]+")/
arrayLink = response.body.scan(regex)
arrayLinkUniq = arrayLink.uniq
#puts linksArray



for element in arrayLinkUniq do
	begin
	puts element
	
	rescue 
    # Error found
    #puts "Error found during parsing  (URI::InvalidURIError)"
	ensure
	end
end
<commit_msg>Update MyTest.rb<commit_after>require "net/https"
require "uri"
require 'pathname'

home_uri="https://www.bondora.com/"
uri = URI.parse(home_uri)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Get.new(uri.request_uri)
response = http.request(request)

regex=/href="\/([^"]+)"/
arrayLink = response.body.scan(regex)
arrayLinkUniq = arrayLink.uniq



for element in arrayLinkUniq do
	begin
	new_uri="#{uri}#{element[0]}"
	puts "#{uri}#{element[0]}"
	rescue 
    # Error found
    #puts "Error found during parsing  (URI::InvalidURIError)"
	ensure
	end
end
{'fraction_non_alphanumeric': 0.15236567762630313, 'fraction_numerical': 0.0016038492381716118, 'mean_word_length': 5.028985507246377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1126915', 'n_tokens_mistral': 468, 'n_tokens_neox': 452, 'n_words': 95}