mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor fix
This commit is contained in:
parent
637d3cbaf7
commit
ffa7e2f6e9
1
thirdparty/pagerank/pagerank.py
vendored
1
thirdparty/pagerank/pagerank.py
vendored
|
@ -15,6 +15,7 @@
|
|||
import urllib
|
||||
|
||||
def get_pagerank(url):
|
||||
url = url.encode('utf8') if isinstance(url, unicode) else url
|
||||
_ = 'http://toolbarqueries.google.com/tbr?client=navclient-auto&features=Rank&ch=%s&q=info:%s' % (check_hash(hash_url(url)), urllib.quote(url))
|
||||
try:
|
||||
f = urllib.urlopen(_)
|
||||
|
|
Loading…
Reference in New Issue
Block a user