Skip to content
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

write-pages doesn't work with twitter #2733

Closed
nisehime opened this issue Jul 5, 2022 · 1 comment
Closed

write-pages doesn't work with twitter #2733

nisehime opened this issue Jul 5, 2022 · 1 comment

Comments

@nisehime
Copy link

nisehime commented Jul 5, 2022

I noticed the write-pages option exists and wanted to look at something from twitter with it, however when I run gallery-dl with this option this is what I get

[twitter][warning] Failed to dump HTTP request (FileNotFoundError: [Errno 2] No such file or directory: '02_https_twitter.com_i_api_graphql_t4wEKVulW4Mbv1P0kgxTEw_UserTweetsAndReplies_variables_%7B%22userId%22%3A%221305600983645462530%22%2C%22count%22%3A100%2C%22withCommunity%22%3Atrue%2C%22includePromotedContent%22%3Afalse%2C%22withSuperFollowsUserFiel.dump')

There's a lot of errors like that. This is probably due to generated filename being too long (Windows).

@mikf
Copy link
Owner

mikf commented Jul 8, 2022

This is probably due to generated filename being too long (Windows).

Yeah, that was the problem. The code limited the filename length to 255 characters, but that alone is not enough on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants