-
-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gallery-dl calling youtube-dl for jpgs and pngs? #733
Comments
Hello KirbyFan102,
Can you please share an URL to reproduce this problem?
|
https://twitter.com/CaptainPiika |
Thanks!
At least after a couple of minutes I could not reproduce it via:
% gallery-dl --ignore-config -o extractor.twitter.videos=true --verbose 'https://twitter.com/CaptainPiika'
Can you please share the output of `gallery-dl --ignore-config -o extractor.twitter.videos=true --verbose 'https://twitter.com/CaptainPiika`
and the output of `youtube-dl --version`?
|
It also didn't have any problems on my end. Try altering your config file to make gallery-dl save files as {filename}.{extension}. |
That works as well. I'm guessing you are trying to get youtube-dl to do the data extraction ( |
No, it made no difference. Whether it was true or false, it kept trying to download .jpg files with ytdl, and it still gave the same error message. |
I just wanted to have the downloaded videos from youtube get their proper names instead of None.mp4. That's all I wanted. I don't even really want to use youtube-dl to download all videos, just the ones that are from youtube. |
I've figured out what went wrong here. It was using an old filename when reporting an error during a youtube-dl download, which made you think it used youtube-dl for images. $ gallery-dl -u USERNAME -o videos=ytdl -o forward-cookies=true https://twitter.com/CaptainPiika
...
/tmp/twitter/CaptainPiika/1259985338606518273_1.jpg
/tmp/twitter/CaptainPiika/1259985338606518273_2.jpg
[downloader.ytdl][error] ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden ...
[download][error] Failed to download 1259985338606518273_2.jpg
/tmp/twitter/CaptainPiika/1258869613284163585_1.jpg
... Notice how the filename in the error message is the same as the filename from the last successful download ( Regarding downloading Twitter videos: When setting "forward-cookies": false this time and not "forward-cookies": "false" You can also set this value through a command-line switch, by the way. Try $ gallery-dl -o forward-cookies= https://twitter.com/CaptainPiika |
Okay. Now it's giving me this error message:
This result was achieved via changing the value in the config file, as the command you gave didn't work. I think it may only work in Linux. |
This happened when I was trying to extract from a twitter page with videos. I tried to make it use youtube-dl exclusively for video extraction, and not only does it still save them as None.mp4, it started giving out this error after the second video: ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>);
What's even weirder is that it then began doing the same thing for some IMAGE files, and calling youtube-dl to download them. I don't know what's causing this, as I have the latest version of youtube-dl.
Also, I tried changing the youtube-dl filename in the 'outtmpl' option, but it did nothing.
The text was updated successfully, but these errors were encountered: