Answer the question
In order to leave comments, you need to log in
How to parse sites in python 3 through hosting https://www.pythonanywhere.com/?
The code:
import requests
header = {'User-Agent': 'Mozilla/5.0 (X11; NetBSD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36'}
session = requests.Session()
request = session.get("http://lostfilm.tv/series/" , headers = header)
print(request)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question