practical-nlp-code
practical-nlp-code copied to clipboard
Extracting Question and Answers from StackOverflow - Ch2
Notebook link - https://github.com/practical-nlp/practical-nlp/blob/master/Ch2/01_WebScraping_using_BeautifulSoup.ipynb
The questiontext and answertext will return None as there is no such class as "post-text". I have tried to correct the code and here is my answer to the issue -
Thanks, @devanshu125.
Can you submit a pull request to the repo? This way we can also attribute your contributions.
Thanks, @devanshu125.
Can you submit a pull request to the repo? This way we can also attribute your contributions.
I would love to do that, thank you!
Hey @suranah , I have created a pull request #24 , could you check it out?
@devanshu125 We will review it and merge it shortly. Thank you.
If they change their style sheet again, the code may not work again. So, perhaps it is useful to add a comment on top with a timestamp.
@nishkalavallabhi Maybe using a demo website such as quotes.toscrape.com instead of stackoverflow would be a better idea.
I'm trying to run the notebook, but I get the following error: HTTPError: HTTP Error 403: Forbidden Can you please have a look? Many thanks!