the reason for this particular error is that your regex does not match anything and returns None. Note that using Regex to parse HTML is not working, you need package like BeautifulSoup. However this site is using javascript to produce the page you see (and that is one more reason why your regex does not match anything), so at the end you will need to use tools like selenium if you want to scrape it.
AttributeError: 'NoneType' object has no attribute error
AttributeError: 'NoneType' object has no attribute error
|
|
Messages In This Thread |
AttributeError: 'NoneType' object has no attribute error - by vk7 - Feb-02-2018, 08:22 AM
RE: AttributeError: 'NoneType' object has no attribute error - by buran - Feb-02-2018, 08:36 AM
|
Users browsing this thread: 2 Guest(s)