'Python Mechanize-Plugin omits content of <b>-brackets in response
I am trying to extract text from a server-generated results page to a former query. The website is built in PHP, so I'm using the mechanize browser to interact with the page from Python.
Problem: Already in the raw response text passages of the page in -tags is missing: With one exception all characters from the tags except ":" are missing. These are definitely shown in the page source in mz regular webbrowser.
I use fairly standard mechanize code (excerpt of relevant lines):
br = mechanize.Browser()
br.open(webpage)
br.select_form(nr=0)
for i in q:
br.form[i] = q[i]
resp = br.submit()
What should look like this:
<b>Material:</b> example
looks like this:
<b>:</b>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
