Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

ur'string' not needed in Py 2, syntax error in Py3

cclaussb7022360824c
diff --git a/docs/utils/linkfix.py b/docs/utils/linkfix.py
index 40316968f..6290adbe2 100755
--- a/docs/utils/linkfix.py
+++ b/docs/utils/linkfix.py
@@ -20,7 +20,7 @@ _filename = None
_contents = None
# A regex that matches standard linkcheck output lines
-line_re = re.compile(ur'(.*)\:\d+\:\s\[(.*)\]\s(?:(.*)\sto\s(.*)|(.*))')
+line_re = re.compile(u'(.*)\:\d+\:\s\[(.*)\]\s(?:(.*)\sto\s(.*)|(.*))')
# Read lines from the linkcheck output file
try: