>
>
>
> from json import loads, dumps
> # equivalent of scrapy start_requests() - the initial requests
> start_request = dict(method='GET', url='http://...')
> print dumps(start_request)
>
> for line in sys.stdin:
>
> response = loads(line)
>
> print dumps(parse_item(data))
>
> print dumps(parse_links_to_follow(data))
>
>
sorry, this should obviously be :

print dumps(parse_item(response))

print dumps(parse_links_to_follow(response))

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to