diff --git a/grab/spider/task.py b/grab/spider/task.py
index <HASH>..<HASH> 100644
--- a/grab/spider/task.py
+++ b/grab/spider/task.py
@@ -53,5 +53,8 @@ class Task(object):
 
         for key, value in kwargs.items():
             setattr(task, key, value)
+            
+        if 'grab' in kwargs:
+            task.url = kwargs['grab'].config['url']
 
         return task
Fix bug in Task clone method