temboz - Check-in [470]
Not logged in
[Honeypot]  [Browse]  [Help]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline]  [Wiki
  [Patchset]  [Tagging/Branching
Check-in Number: 470
Date: 2010-May-12 21:00:55 (local)
2010-May-13 04:00:55 (UTC)
User:majid
Branch:
Comment: get rid of annoying Ars Technica "brief" icons
Tickets:
Inspections:
Files:
temboz/transform.py      1.38 -> 1.39     3 inserted, 0 deleted

temboz/transform.py 1.38 -> 1.39
--- /tmp/T0XCaG8j	Sun Sep  5 17:34:20 2010
+++ /tmp/T1YCaG8j	Sun Sep  5 17:34:20 2010
@@ -183,6 +183,9 @@
   # Ars Technica
   degunk.Re(r'<a [^>]* title="Click here to continue reading.*?</a>',
             re.MULTILINE + re.DOTALL),
+  degunk.Re('<a href="http://arstechnica.com[^>]*>[^<>]*'
+            '<img [^>]*brief_icons.*?</a>',
+            re.MULTILINE + re.DOTALL),
   # Coding Horror
   degunk.Re(r'<table>.*?\[advertisement\].*?</table>',
             re.MULTILINE + re.DOTALL),