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

[Twitter] Follow original tweet #1026

Closed
rEnr3n opened this issue Sep 24, 2020 · 1 comment
Closed

[Twitter] Follow original tweet #1026

rEnr3n opened this issue Sep 24, 2020 · 1 comment

Comments

@rEnr3n
Copy link

rEnr3n commented Sep 24, 2020

I want to be able to download the same files whether the given link is a tweet or a retweet. The following config didn't work since both links have different valid date/time, etc.

config.txt

{
    "extractor": {
        "twitter": {
            "directory": ["{category}", "{author[name]}", "{date:%Y-%m-%dT%H:%M:%SZ} {retweet_id|tweet_id}"]
        }
    }
}

This is what I get with the config above.

$ gallery-dl -c config.txt https://twitter.com/jessicahours/status/1296296016002547713
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_1.jpg
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_2.jpg
$ gallery-dl -c config.txt https://twitter.com/jessica_3978/status/1296304589591810048
./gallery-dl/twitter/jessicahours/2020-08-20T04:34:32Z 1296296016002547713/1296304589591810048_1.jpg
./gallery-dl/twitter/jessicahours/2020-08-20T04:34:32Z 1296296016002547713/1296304589591810048_2.jpg

I want them to be like this.

$ gallery-dl -c config.txt https://twitter.com/jessicahours/status/1296296016002547713
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_1.jpg
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_2.jpg
$ gallery-dl -c config.txt https://twitter.com/jessica_3978/status/1296304589591810048
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_1.jpg
./gallery-dl/twitter/jessicahours/2020-08-20T04:00:28Z 1296296016002547713/1296296016002547713_2.jpg
@God-damnit-all
Copy link
Contributor

Shit... I thought this is how it worked already. That really fucking hurts. I think I'm going to need to redownload all 400 users I'm tracking when my bandwidth resets.

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

3 participants