|
@@ -92,7 +92,7 @@ def myunichchar(unicode_char):
|
|
|
|
|
|
def get_url_type(url):
|
|
|
print('---------------------------------------------')
|
|
|
-
|
|
|
+ print(url)
|
|
|
req = urllib.request.Request(url, method='HEAD', headers={'User-Agent': 'Mozilla/5.0'})
|
|
|
r = urllib.request.urlopen(req)
|
|
|
contentType = r.getheader('Content-Type')
|