Skip to content

Commit

Permalink
pycharm.py: Add anchor
Browse files Browse the repository at this point in the history
Only anchors are scanned by uscan.
  • Loading branch information
ckorn committed Jan 10, 2016
1 parent d408ba3 commit ed8ff74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pycharm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ def main():
h=urllib2.urlopen("https://data.services.jetbrains.com/products/releases?code=PCP%2CPCC&latest=true&type=release").read()
j=json.loads(h)
#print json.dumps(j, indent=4, sort_keys=True)
print j["PCC"][0]["downloads"]["linux"]["link"]
url=j["PCC"][0]["downloads"]["linux"]["link"]
print "<a href='%(url)s'>%(url)s</a>"%locals()


if __name__ == "__main__":
Expand Down

0 comments on commit ed8ff74

Please sign in to comment.