[vdown commit] r70 - trunk

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 13, 2008, 1:03:13 PM1/13/08
to vdow...@googlegroups.com
Author: kopfgeldjaeger
Date: Sun Jan 13 10:03:03 2008
New Revision: 70

Modified:
trunk/main.py

Log:
fix problem with stage6 (url renamed)

Modified: trunk/main.py
==============================================================================
--- trunk/main.py (original)
+++ trunk/main.py Sun Jan 13 10:03:03 2008
@@ -93,13 +93,13 @@

class get_data(threading.Thread):
"""
- Fetch data from videograb.de
+ Fetch data from nachrichtenmann.de/cgi-bin/video/video.cgi
FIXME: make this a bit prettier
"""
def __init__(self, url):
threading.Thread.__init__(self)
self.status = -1
- self.url = url
+ self.url = url.replace("www.stage6.com", "stage6.divx.com").replace("stage6.com", "stage6.divx.com")
self.data = [None, None, None, None]
def run(self):
if re.match("(http://)?stage6.divx.com/.*/video/[0-9]*/.*",
self.url) == None: # if no stage6 video

codesite...@google.com

unread,
Jan 13, 2008, 1:03:13 PM1/13/08
to vdow...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages