Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cope with unicode data

  • Loading branch information...
commit e7f2e9826c51185253f1d93b1126e42c5ab79b2c 1 parent ffb156b
@palfrey authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  literotica.py
  2. +1 −1  urlgrab
View
2  literotica.py
@@ -12,7 +12,7 @@
page = cache.get(url, max_age = -1)
data = page.read()
-open("dump", "wb").write(data)
+open("dump", "wb").write(data.encode("utf-8"))
title = titlePattern.findall(data)
print title
2  urlgrab
@@ -1 +1 @@
-Subproject commit 62192a2b120b0118ac60240afa412bfd27360c65
+Subproject commit 9e6af944dffd62eceb464c13324d25c96601072b
Please sign in to comment.
Something went wrong with that request. Please try again.