Code Monkey home page Code Monkey logo

sipsdownloader's People

Contributors

davsx avatar jwarlander avatar kovdavid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jwarlander

sipsdownloader's Issues

download_dir is not expanded

I set my username and password in config.exs file. And then ran ./sips_downloader command. Unfortunately it didn't work :(

=ERROR REPORT==== 23-Feb-2016::15:00:29 ===
** Task <0.69.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"001_Introduction_and_Installing_Elixir.mkv">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1321">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}

=ERROR REPORT==== 23-Feb-2016::15:00:29 ===
** Task <0.70.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"002_Basic_Elixir.mp4">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1367">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Failed to download 001_Introduction_and_Installing_Elixir.mkv: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 002_Basic_Elixir.md
Failed to download 002_Basic_Elixir.mp4: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 003_Pattern_Matching.mp4

=ERROR REPORT==== 23-Feb-2016::15:00:29 ===
** Task <0.68.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"001_Introduction_and_Installing_Elixir.mp4">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1366">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Failed to download 001_Introduction_and_Installing_Elixir.mp4: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 003_Pattern_Matching.md
Failed to download 002_Basic_Elixir.mkv: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 004_Functions.mp4

=ERROR REPORT==== 23-Feb-2016::15:00:29 ===
** Task <0.71.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"002_Basic_Elixir.mkv">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1358">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Failed to download 001_Introduction_and_Installing_Elixir.md: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}

=ERROR REPORT==== 23-Feb-2016::15:00:29 ===
** Task <0.67.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"001_Introduction_and_Installing_Elixir.md">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1382">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Starting download: 004_Functions.md

=ERROR REPORT==== 23-Feb-2016::15:00:31 ===
** Task <0.89.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"002_Basic_Elixir.md">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1357">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Failed to download 002_Basic_Elixir.md: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 005_Modules.mp4
Failed to download 004_Functions.mp4: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}

=ERROR REPORT==== 23-Feb-2016::15:00:31 ===
** Task <0.97.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"004_Functions.mp4">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=5086">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Starting download: 005_Modules.md

=ERROR REPORT==== 23-Feb-2016::15:00:31 ===
** Task <0.91.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"003_Pattern_Matching.mp4">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=14879">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
Failed to download 003_Pattern_Matching.mp4: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}
Starting download: 005_modules_example.tar.gz
Failed to download 003_Pattern_Matching.md: {{:badmatch, {:error, :enoent}}, [{SipsDownloader.EpisodeDownloader, :process_download, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 25]}, {SipsDownloader.EpisodeDownloader, :run, 2, [file: 'lib/sips_downloader/episode_downloader.ex', line: 6]}, {Task.Supervised, :do_apply, 2, [file: 'lib/task/supervised.ex', line: 89]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}

=ERROR REPORT==== 23-Feb-2016::15:00:31 ===
** Task <0.94.0> terminating
** Started from <0.57.0>
** When function  == #Fun<Elixir.SipsDownloader.EpisodeDownloader.run.2>
**      arguments == [{<<"003_Pattern_Matching.md">>,
                       <<"https://elixirsips.dpdcart.com/subscriber/download?file_id=1413">>},
                      #{dir => <<"~/Desktop/elixirsips-sips/elixirnation">>,
                        parent => <0.57.0>,
                        session_id => <<"hke1l87phcsc5p0t456e57han6">>,
                        work_ref => #Ref<0.0.1.766>}]
** Reason for termination ==
** {{badmatch,{error,enoent}},
    [{'Elixir.SipsDownloader.EpisodeDownloader',process_download,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,25}]},
     {'Elixir.SipsDownloader.EpisodeDownloader',run,2,
         [{file,"lib/sips_downloader/episode_downloader.ex"},{line,6}]},
     {'Elixir.Task.Supervised',do_apply,2,
         [{file,"lib/task/supervised.ex"},{line,89}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}

parallel download episodes

i think having a pool of workers downloading will make it really fast. i will look work on it this weekend and make a pr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.