Python Forum

Full Version: [split] NameError: name 'formats' is not defined
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
soup = BeautifulSoup(response.content,formats[crawl_len])
Error:
NameError: name 'formats' is not defined
why should i get this error
did you define "formats" somewhere?