Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Youtube upload_date not available #3844
Comments
|
Sorry, I cannot reproduce this; the detection works fine for me. Can you share the output you get when you add the |
|
Hey, look what just happened. Sorry for not pasting output for this moment, but I ran the command with dump intermediate pages option, it gives me a bunch of binary output, then I thought I better hide my login data before I paste that to any pastebin, so i removed options -u and -p from config file and run the command again, and then finally… the date appeared in the string as it should. I use plain text e-mail as user and alfanumeric password without any special characters. I just checked now to be sure, it works via youtube's www. Where could there be the hook? Did You try reproducing the problem with valid user account data? |
|
Sure, I used a valid login to reproduce. It still works perfectly fine. If you want to look at the data yourself, just decode it; it should be base64, and not contain any passwords. It's also not binary, but straight UTF-8. Sorry, but without any more detailed output, we are unable to diagnose this problem. We'll just have to wait for someone to reproduce and report the problem with the detailed outputs. |
|
I can reproduce the problem when using my account, the problem is that it seems to get localized (to Spanish in my case), so the upload date part for our test video is: <p id="watch-uploader-info">
<strong class="watch-time-text">Publicado el 2/10/2012</strong>
</p>Instead of the <p id="watch-uploader-info">
<strong class="watch-time-text">Published on Oct 2, 2012</strong>
</p>The same happens for categories (as in #3824), I get: <h4 class="title">
Categoría
</h4>
<ul class="content watch-info-tag-list">
<li><a href="/science" class=" yt-uix-sessionlink spf-link " data-sessionlink="ei=RIQoVMPoOsKb0wWG1IGABA">Ciencia y tecnología</a></li>
</ul>I think we should either force the |
|
Fixed in youtube-dl 2014.09.29.1 (by setting the language to English). Type |
|
Yes, I can confirm that was also my problem. I tried type LANG=C or LANG=en_US.UTF-8 before youtube-dl but that did not the trick. The update did it, thank You for quick reaction. |
Hello. Newest version of yt-dl cannot extract upload date from string %(upload_date)s. In result I get only NA text. Here comes --verbose output: