I have a feeling the information is somewhere on stack overflow, but I can't find it :-/
I'm looking to get the text from this website: https://www.uniprot.org/uniprot/P28653.fasta but my code returns 'None.' All help is super appreciated!
import requests
from bs4 import BeautifulSoup as bs
r = requests.get('http://www.uniprot.org/uniprot/P28653_PGS1_MOUSE.fasta')
soup = bs(r.content, 'html.parser')
lst = soup.find_all('pre')
print(lst)
returns
[]
Thanks!!