diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/PumukitYoutubeBundle.iml b/.idea/PumukitYoutubeBundle.iml new file mode 100644 index 0000000..7b41007 --- /dev/null +++ b/.idea/PumukitYoutubeBundle.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..528ef18 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..a1827cd --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Command/EstimatedStorageAccountCommand.php b/Command/EstimatedStorageAccountCommand.php index 35d61a0..86e4be7 100644 --- a/Command/EstimatedStorageAccountCommand.php +++ b/Command/EstimatedStorageAccountCommand.php @@ -103,9 +103,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int foreach ($response->getItems() as $item) { $progressBar->advance(); - if (null !== $input->getOption('limit') && $count >= $input->getOption('limit')) { - break; - } ++$count; $videoId = $item->getId()->getVideoId(); $youtubeDownloader = new YouTubeDownloader();