lib/plugin/wikipedia.rb in serienrenamer-0.0.11 vs lib/plugin/wikipedia.rb in serienrenamer-0.0.12
- old
+ new
@@ -50,10 +50,10 @@
tries = 3
search_pattern = episode.series
search_pattern_modified = false
begin
- wiki.search(search_pattern, nil, 50).each do |title|
+ wiki.search(search_pattern, nil, 15).each do |title|
pagedata = wiki.get(title)
if is_series_main_page?(pagedata)
series_site = title
break
end