lib/ayadn/search.rb in ayadn-1.6.0 vs lib/ayadn/search.rb in ayadn-1.7.0
- old
+ new
@@ -8,10 +8,11 @@
@view = view
@workers = workers
end
def hashtag(hashtag, options)
+ Settings.options[:force] = true if options[:force]
@view.downloading(options)
stream = @api.get_hashtag(hashtag)
Check.no_data(stream, 'hashtag')
if options[:extract]
@view.all_hashtag_links(stream, hashtag)
@@ -19,9 +20,10 @@
@view.render(stream, options)
end
end
def find(words, options)
+ Settings.options[:force] = true if options[:force]
@view.downloading(options)
stream = get_stream(words, options)
Check.no_data(stream, 'search')
if options[:users]
get_users(stream, options)