Class: TaskStruct
- Inherits:
-
Object
- Object
- TaskStruct
- Defined in:
- lib/list_spider.rb
Overview
爬取任务类
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#connection_options ⇒ Object
Returns the value of attribute connection_options.
-
#convert_to_utf8 ⇒ Object
Returns the value of attribute convert_to_utf8.
-
#custom_data ⇒ Object
Returns the value of attribute custom_data.
-
#errback ⇒ Object
Returns the value of attribute errback.
-
#href ⇒ Object
Returns the value of attribute href.
-
#http_method ⇒ Object
Returns the value of attribute http_method.
-
#local_path ⇒ Object
Returns the value of attribute local_path.
-
#overwrite_exist ⇒ Object
Returns the value of attribute overwrite_exist.
-
#parse_method ⇒ Object
Returns the value of attribute parse_method.
-
#request_object ⇒ Object
Returns the value of attribute request_object.
-
#request_options ⇒ Object
Returns the value of attribute request_options.
-
#stream_callback ⇒ Object
Returns the value of attribute stream_callback.
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def callback @callback end |
#connection_options ⇒ Object
Returns the value of attribute connection_options.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def end |
#convert_to_utf8 ⇒ Object
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_data ⇒ Object
Returns the value of attribute custom_data.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def custom_data @custom_data end |
#errback ⇒ Object
Returns the value of attribute errback.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def errback @errback end |
#href ⇒ Object
Returns the value of attribute href.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def href @href end |
#http_method ⇒ Object
Returns the value of attribute http_method.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def http_method @http_method end |
#local_path ⇒ Object
Returns the value of attribute local_path.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def local_path @local_path end |
#overwrite_exist ⇒ Object
Returns the value of attribute overwrite_exist.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def overwrite_exist @overwrite_exist end |
#parse_method ⇒ Object
Returns the value of attribute parse_method.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def parse_method @parse_method end |
#request_object ⇒ Object
Returns the value of attribute request_object.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def request_object @request_object end |
#request_options ⇒ Object
Returns the value of attribute request_options.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def end |
#stream_callback ⇒ Object
Returns the value of attribute stream_callback.
97 98 99 |
# File 'lib/list_spider.rb', line 97 def stream_callback @stream_callback end |