Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Check the url and generate a new one well formed if is not complete.
    * Url management starts with '/' or /wiki/ - InvalidURL
    * Url management starts with '//' - HTTPError
    * Url format t0 utf-8 - http://es.wikipedia.org//yi.wikipedia.org/wiki/%D7%B0%D7%99%D7%A7%D7%99%D7%A4%D6%BC%D7%A2%D7%93%D7%99%D7%A2:%D7%91%D7%A8%D7%95%D7%9B%D7%99%D7%9D_%D7%94%D7%91%D7%90%D7%99%D7%9D

Keyword arguments:
url_to_check -- URL to check

src/r/i/ricardo_crawler-01.00.01/test/controllers/TestUrlContentRetrieve.py   ricardo_crawler(Download)
        url_to_check = "http://localhost"
        expected_url = "http://localhost"
        returned_url = url_content_retrieve.generate_correct_url(url_to_check)
 
        self.assertEqual(returned_url, expected_url, \
        url_to_check = "/media"
        expected_url = "http://localhost/media"
        returned_url = url_content_retrieve.generate_correct_url(url_to_check)
 
        self.assertEqual(returned_url, expected_url, \
        url_to_check = "//mediateca.org"
        expected_url = "http://mediateca.org"
        returned_url = url_content_retrieve.generate_correct_url(url_to_check)
 
        self.assertEqual(returned_url, expected_url, \