Pythonでテキストファイルから1行づつ読み込んで処理を行う[Python]

fname = "url.txt"
with open(fname) as f:
for line in f:
contents = requests.get(line)
time.sleep(1.5)
Pocket