title: Remove ads from webpage code
body: <p>I have list of adblock rules (<a href="https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt" rel="nofollow noreferrer">example</a>)<br>
  How can I apply them to webpage? I download webpage code with MechanicalSoup (based on BeautifulSoup). I would like to save it in bs format, but etree is fine too.<br>
  I tried to use <a href="https://github.com/buriy/python-readability/issues/43#issuecomment-321174825" rel="nofollow noreferrer">following code</a>, but it has problems with some pages:<br>
  <code>ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.</code></p>