ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2021

NANY 2021: yaydl

<< < (2/12) > >>

Tuxman:
Naturally, this specific video has a very different get_video_info file.  >:(
I’ll investigate... not today, I’m afraid. Maybe tomorrow.

Sorry.

Shades:
Whenever you have the time, the resources and the desire to do anything about the previous problem, that is no problem. Better yet, I should say thanks for the effort you have already put into the current version. Nice, simple and (almost  :-[ ) doing everything it is supposed to.


At the risk of you hating me even more:
yaydl.exe "https://www.youtube.com/watch?v=PNrVNbLGcY8"

That link gives the following error:
Error: The filename, directory name, or volume label syntax is incorrect. (os error 123)

Which is normally reserved for folders/files that have characters in their name that NTFS trips over.  Yet I could manage to download others in that series, which also had the | character in their name (I assume that is the character giving problems). Hence why this one goes wrong and others ok?

For matters like this the output parameter should be used, I'm aware. Just letting you know about my experiences with your software.

Shades:
Another post another error  :-[
But accompanied with a backtrace log, so hopefully helps you out.

yaydl.exe "https://www.youtube.com/watch?v=uofTiq2e4ys"
Fetching from YouTube.
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\handlers\youtube.rs:140:58
stack backtrace:
   0:           0x956d8b - backtrace::backtrace::dbghelp::trace::ha09940ef4b8fd9a2 at C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.46\src\backtrace/dbghelp.rs:88
   1:           0x956d8b - backtrace::backtrace::trace_unsynchronized::h19d7d1b30f96fe6c at C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.46\src\backtrace/mod.rs:66
   2:           0x956d8b - std::sys_common::backtrace::_print_fmt::hf038dfff95c497df at src\libstd\sys_common/backtrace.rs:78
   3:           0x956d8b - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he2295693089d2e8c at src\libstd\sys_common/backtrace.rs:59
   4:           0x98272c - core::fmt::write::h2e7468e40976ea37 at src\libcore\fmt/mod.rs:1076
   5:           0x948429 - std::io::Write::write_fmt::hef3158223e737cb6 at src\libstd\io/mod.rs:1537
   6:           0x95b5c0 - std::sys_common::backtrace::_print::he4a39cb956ba394d at src\libstd\sys_common/backtrace.rs:62
   7:           0x95b5c0 - std::sys_common::backtrace::print::h38d45a7d7a4d1f02 at src\libstd\sys_common/backtrace.rs:49
   8:           0x95b5c0 - std::panicking::default_hook::{{closure}}::hfcc0d2f90e4d71be at src\libstd/panicking.rs:198
   9:           0x95b249 - std::panicking::default_hook::h7e61c8ee936a661d at src\libstd/panicking.rs:217
  10:           0x95bcfd - std::panicking::rust_panic_with_hook::h8b0608bd552a3d13 at src\libstd/panicking.rs:526
  11:           0x95b914 - rust_begin_unwind at src\libstd/panicking.rs:437
  12:           0x97f070 - core::panicking::panic_fmt::h858651244c7bf662 at src\libcore/panicking.rs:85
  13:           0x97efbc - core::panicking::panic::h3d3bbc55f27215e0 at src\libcore/panicking.rs:50
  14:           0x4213aa - <yaydl::handlers::youtube::YouTubeHandler as yaydl::definitions::SiteDefinition>::find_video_direct_url::h7dcd5e8b5dd3862e
  15:           0x41760d - yaydl::main::hec0b5474d3d8845d
  16:           0x404db7 - std::rt::lang_start::{{closure}}::h6bd369ed7d7ed635
  17:           0x95bfbc - std::rt::lang_start_internal::{{closure}}::hcfe58f53feea7233 at src\libstd/rt.rs:52
  18:           0x95bfbc - std::panicking::try::do_call::hc4163588b8559d85 at src\libstd/panicking.rs:348
  19:           0x95bfbc - std::panicking::try::h310a3be58418d841 at src\libstd/panicking.rs:325
  20:           0x95bfbc - std::panic::catch_unwind::h52728a6ebc96df5e at src\libstd/panic.rs:394
  21:           0x95bfbc - std::rt::lang_start_internal::ha1701ac7d300255b at src\libstd/rt.rs:51
  22:           0x419168 - main
  23:           0x4013c7 - _tmainCRTStartup
  24:           0x4014fb - mainCRTStartup
  25:     0x7ff9bb741fe4 - _report_error
  26:     0x7ff9bbd7cb31 - _report_error

Tuxman:
Yes, it does.
I hope that I find some time this week... thank you.

I’m afraid that the problem with some videos having a bad “base URL” will require some refactoring. I’m not even sure how to fix that.  :huh: But the other two problems look easy to fix...

Tuxman:
They are not. At least the latter is not.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version