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

Replace any twitter tracking link by the final link #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Dec 25, 2022

  1. Update __init__.py

    modify some bugs/features:
    1. original: if there's a quote tweet in a reply, then toot it.
    change to: ignore replies anyway.
    
    2. original: if there's a quote, then ignore the photos outside the quote.
    change to: attach the photos from the quote tweet behind the media list of the new tweet.
    
    3. original: do not parse videos, parse thumbnail instead.
    change to: upload mp4 video in the toot. If a video is found, then ignore all the other photos.
    some mp4 got from Twitter are encoded as iso5 format, which is not accepted by Mastodon. So, if the upload failed, convert the video to mp42 format with local FFmpeg, then reupload.
    fivestone authored and fonata committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    9648ca7 View commit details
    Browse the repository at this point in the history
  2. fix: reverse picture order

    For multiple photos, the photo list got from Twitter API is reversed to the posting order, so the toot photos order is reversed as well.
    
    fix it.
    fivestone authored and fonata committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    3b231dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e82044d View commit details
    Browse the repository at this point in the history
  4. add readme comment

    fivestone authored and fonata committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    7733229 View commit details
    Browse the repository at this point in the history