Skip to content

Instantly share code, notes, and snippets.

@smathy
Created April 26, 2016 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smathy/f74e51229334be4eb9f9cf11a12b561a to your computer and use it in GitHub Desktop.
Save smathy/f74e51229334be4eb9f9cf11a12b561a to your computer and use it in GitHub Desktop.
~/work git clone https://github.com/vdaubry/youtube-multiple-dl.git 11:05:02
Cloning into 'youtube-multiple-dl'...
remote: Counting objects: 175, done.
remote: Total 175 (delta 0), reused 0 (delta 0), pack-reused 175
Receiving objects: 100% (175/175), 127.51 KiB | 0 bytes/s, done.
Resolving deltas: 100% (74/74), done.
Checking connectivity... done.
~/work cd youtube-multiple-dl 11:05:10
~/work/youtube-multiple-dl rbenv local 2.2.0 master 11:05:13
~/work/youtube-multiple-dl curl https://yt-dl.org/latest/youtube-dl -o bin/youtube-dl master ~ 11:05:18
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1154k 100 1154k 0 0 442k 0 0:00:02 0:00:02 --:--:-- 441k
~/work/youtube-multiple-dl chmod 750 bin/youtube-dl master ~ 11:05:26
~/work/youtube-multiple-dl youtube-dl master ~ 11:05:33
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
~/work/youtube-multiple-dl bundle install master ~ 11:05:40
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
Using builder 3.2.2
Using arel 6.0.0
Using columnize 0.9.0
Using debugger-linecache 1.2.0
Using slop 3.6.0
Using diff-lcs 1.2.5
Using metaclass 0.0.4
Using rspec-support 3.2.2
Using spring 1.3.3
Using sqlite3 1.3.10
Using bundler 1.11.2
Using tzinfo 1.2.2
Using byebug 3.5.1
Using mocha 1.1.0
Using rspec-core 3.2.1
Using rspec-expectations 3.2.0
Using rspec-mocks 3.2.1
Using spring-commands-rspec 1.0.4
Using activesupport 4.2.0
Using rspec 3.2.0
Using activemodel 4.2.0
Using delayed_job 4.0.6
Using factory_girl 4.5.0
Using activerecord 4.2.0
Using delayed_job_active_record 4.0.3
Bundle complete! 7 Gemfile dependencies, 29 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
~/work/youtube-multiple-dl rake db:migrate master ~ 11:05:55
I, [2016-04-26T11:06:17.929359 #35496] INFO -- : Migrating to CreateDelayedJobTable (1)
== 1 CreateDelayedJobTable: migrating =========================================
-- create_table(:delayed_jobs, {:force=>true})
-> 0.0040s
-- add_index(:delayed_jobs, [:priority, :run_at], {:name=>"delayed_jobs_priority"})
-> 0.0003s
== 1 CreateDelayedJobTable: migrated (0.0044s) ================================
I, [2016-04-26T11:06:17.942750 #35496] INFO -- : Migrating to AddProgressColumn (2)
== 2 AddProgressColumn: migrating =============================================
-- add_column(:delayed_jobs, :progress_info, :string, {:null=>true})
-> 0.0004s
== 2 AddProgressColumn: migrated (0.0004s) ====================================
~/work/youtube-multiple-dl youtube-multiple-dl --start --worker_number 3 master ~ 11:06:18
[Worker(host:zoo-2.local pid:35568)] Starting job worker
I, [2016-04-26T11:06:30.628135 #35568] INFO -- : 2016-04-26T11:06:30-0600: [Worker(host:zoo-2.local pid:35568)] Starting job worker
[Worker(host:zoo-2.local pid:35569)] Starting job worker
I, [2016-04-26T11:06:30.628664 #35569] INFO -- : 2016-04-26T11:06:30-0600: [Worker(host:zoo-2.local pid:35569)] Starting job worker
[Worker(host:zoo-2.local pid:35570)] Starting job worker
I, [2016-04-26T11:06:30.634674 #35570] INFO -- : 2016-04-26T11:06:30-0600: [Worker(host:zoo-2.local pid:35570)] Starting job worker
^Z
[1] + 35552 suspended youtube-multiple-dl --start --worker_number 3
~/work/youtube-multiple-dl bg master ~ 11:06:36
[1] + 35552 continued youtube-multiple-dl --start --worker_number 3
~/work/youtube-multiple-dl youtube-multiple-dl -add https://www.youtube.com/watch\?v\=Y7RnH6bnGHc master ~ 11:06:37
~/work/youtube-multiple-dl [Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) RUNNING master ~ 11:06:46
I, [2016-04-26T11:06:46.711983 #35569] INFO -- : 2016-04-26T11:06:46-0600: [Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) RUNNING
waiting for download to start...
[Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) FAILED (0 prior attempts) with RuntimeError: download failed
E, [2016-04-26T11:06:49.106667 #35569] ERROR -- : 2016-04-26T11:06:49-0600: [Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) FAILED (0 prior attempts) with RuntimeError: download failed
[Worker(host:zoo-2.local pid:35569)] 1 jobs processed at 0.4130 j/s, 1 failed
I, [2016-04-26T11:06:49.118704 #35569] INFO -- : 2016-04-26T11:06:49-0600: [Worker(host:zoo-2.local pid:35569)] 1 jobs processed at 0.4130 j/s, 1 failed
[Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) RUNNING
I, [2016-04-26T11:06:55.147062 #35569] INFO -- : 2016-04-26T11:06:55-0600: [Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) RUNNING
waiting for download to start...
[Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) FAILED (1 prior attempts) with RuntimeError: download failed
E, [2016-04-26T11:06:57.302550 #35569] ERROR -- : 2016-04-26T11:06:57-0600: [Worker(host:zoo-2.local pid:35569)] Job YoutubeMultipleDL::Download#call_downloader_without_delay (id=1) FAILED (1 prior attempts) with RuntimeError: download failed
[Worker(host:zoo-2.local pid:35569)] 1 jobs processed at 0.4623 j/s, 1 failed
I, [2016-04-26T11:06:57.305884 #35569] INFO -- : 2016-04-26T11:06:57-0600: [Worker(host:zoo-2.local pid:35569)] 1 jobs processed at 0.4623 j/s, 1 failed
~/work/youtube-multiple-dl fg master ~ 11:07:00
[1] + 35552 running youtube-multiple-dl --start --worker_number 3
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment