Class: TaskStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/list_spider.rb

Overview

爬取任务类

Instance Attribute Summary collapse

Instance Attribute Details

#callbackObject

Returns the value of attribute callback.



97
98
99
# File 'lib/list_spider.rb', line 97

def callback
  @callback
end

#connection_optionsObject

Returns the value of attribute connection_options.



97
98
99
# File 'lib/list_spider.rb', line 97

def connection_options
  @connection_options
end

#convert_to_utf8Object

Returns the value of attribute convert_to_utf8.



97
98
99
# File 'lib/list_spider.rb', line 97

def convert_to_utf8
  @convert_to_utf8
end

#custom_dataObject

Returns the value of attribute custom_data.



97
98
99
# File 'lib/list_spider.rb', line 97

def custom_data
  @custom_data
end

#errbackObject

Returns the value of attribute errback.



97
98
99
# File 'lib/list_spider.rb', line 97

def errback
  @errback
end

#hrefObject

Returns the value of attribute href.



97
98
99
# File 'lib/list_spider.rb', line 97

def href
  @href
end

#http_methodObject

Returns the value of attribute http_method.



97
98
99
# File 'lib/list_spider.rb', line 97

def http_method
  @http_method
end

#local_pathObject

Returns the value of attribute local_path.



97
98
99
# File 'lib/list_spider.rb', line 97

def local_path
  @local_path
end

#overwrite_existObject

Returns the value of attribute overwrite_exist.



97
98
99
# File 'lib/list_spider.rb', line 97

def overwrite_exist
  @overwrite_exist
end

#parse_methodObject

Returns the value of attribute parse_method.



97
98
99
# File 'lib/list_spider.rb', line 97

def parse_method
  @parse_method
end

#request_objectObject

Returns the value of attribute request_object.



97
98
99
# File 'lib/list_spider.rb', line 97

def request_object
  @request_object
end

#request_optionsObject

Returns the value of attribute request_options.



97
98
99
# File 'lib/list_spider.rb', line 97

def request_options
  @request_options
end

#stream_callbackObject

Returns the value of attribute stream_callback.



97
98
99
# File 'lib/list_spider.rb', line 97

def stream_callback
  @stream_callback
end