Skip to content

Update xpost.py - #4

Open
handlechages wants to merge 2 commits into
casouri:masterfrom
handlechages:patch-3
Open

Update xpost.py#4
handlechages wants to merge 2 commits into
casouri:masterfrom
handlechages:patch-3

Conversation

@handlechages

Copy link
Copy Markdown

The paragraph crawling code, cross_post function, and upload_media function have been updated. They are currently running smoothly.

fix url error
Comment thread xpost.py
orig_toot_id = None

# Maybe upload media.
# Maybe upload media. instance to toot with')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A typo, it seems?

Comment thread xpost.py
instances. Return a list of POST_RECORD. FALLBACK_MAST is used when we
cannot find a Mastodon instance from dict for the weibo author.
"""
MAST_DICT is a hash map from weibo author ids (string) to Mastodon

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended?

@casouri

casouri commented Jul 17, 2023

Copy link
Copy Markdown
Owner

Thank you very much! I left some nitpick comments.

fix json error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants