Skip to content
Permalink
e9dd09cd71
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
8 lines (6 sloc) 258 Bytes
import urllib2
import re
url = 'http://www.ncbi.nlm.nih.gov/igblast/igblast.cgi?ctg_time=1449689088&job_key=iZdkOqM4GhQptC2CdJkO5HWQC_Vq'
response = urllib2.urlopen(url)
with open('output.txt', 'w') as f:
f.write(re.sub("<.*?>", " ", response.read()))