diff --git a/rbDownloader.rb b/rbDownloader.rb index 6d3a9d0..e338eb8 100644 --- a/rbDownloader.rb +++ b/rbDownloader.rb @@ -21,11 +21,7 @@ def Realbooru.downloader limit = gets.chomp #Obtencion de datos - if limit == '1' - - limit = '2' - - url = 'https://realbooru.com/index.php?page=dapi&s=post&q=index' + '&tags=' + tags + '&pid=1&limit=' + limit + url = 'https://realbooru.com/index.php?page=dapi&s=post&q=index' + '&tags=' + tags + '&pid=1&limit=' + limit.to_s puts url @@ -94,5 +90,4 @@ def Realbooru.downloader require('.\Cherry.rb') end - end -end \ No newline at end of file +end