(Mar-31-2019, 06:24 AM)FalseFact Wrote: Thanks, and sorry again for posting this if someone can delete this post that would be great otherwise I marked it as solved.We do not delete post,and this can also be helpful for other like using Requests instead of urllib.
Can also use
wiki_html.content
instead of wiki_html.text
.As BS will convert to Unicode,so no need to use
text
from Requests that dos the same.bs4 Wrote:Beautiful Soup uses a sub-library called Unicode, Dammit to detect a document’s encoding and convert it to Unicode.