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

[Weibo] Live Photos (.mov) cannot be properly renamed and saved #6471

Closed
doio opened this issue Nov 14, 2024 · 2 comments
Closed

[Weibo] Live Photos (.mov) cannot be properly renamed and saved #6471

doio opened this issue Nov 14, 2024 · 2 comments

Comments

@doio
Copy link

doio commented Nov 14, 2024

Build 2024.11.13 still has this issue.

Test mblog URL:
https://weibo.com/3194672795/OuxSwgUrC

Weibo config:

    "weibo": {
      "filename": "{status['date']:%Y%m%d_%H%M} - {filename}.{extension}",
      "directory": [
        "Weibo",
        "{user['id']} - {user['screen_name']}"
      ],
      "livephoto": true,
      "retweets": false,
      "videos": true
    },

Live photos will be saved in filenames like 20240829_1210 - https___livephoto....f0f0100vS5G0k01.mov_Expires=1731577114&ssig=oZXynRJKt2&KID=unistore,vi,
instead of like 20240829_1210 - 000yfKhRjx08hBAXxdZ60f0f0100tBPr0k01.mov

2024-11-14_16-39-48

@doio doio changed the title [Weibo] Live Photos (MP4 files) cannot be properly renamed and saved [Weibo] Live Photos (.mov) cannot be properly renamed and saved Nov 14, 2024
@mikf mikf closed this as completed Nov 15, 2024
@doio
Copy link
Author

doio commented Nov 16, 2024

Using build 2024.11.15, it seems the issue is partially fixed.

mblog URLs to test:
https://weibo.com/3194672795/P0rp5f9Ya
https://weibo.com/3194672795/OFkkeq1Ed

Some of the Live Photos are still incorrectly parsed. But sometimes it works and sometimes it doesn't though.

2024-11-16_10-17-32

mikf added a commit that referenced this issue Nov 16, 2024
continuation of 396b52a

fixes wrong 'filename' and 'extension' values
when 'ssig' query parameter contains "%2F"
@mikf
Copy link
Owner

mikf commented Nov 16, 2024

But sometimes it works and sometimes it doesn't though.

This depended on the ssig parameter in download URLs containing %2F . Fixed in f7246f0

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