10cbazbt3.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:10cbazbt3 作者: bazbt3 项目源码 文件源码
def inlineinteractions(postid, posterusername, decodedposttext):
    # Accepts all keys. Initial setup: [enter] moves to next post, 'r' replies, 'rp' reposts, '*' stars, 'p' pins:
    inlinecommand = input(Fore.BLUE + Style.DIM + "[enter],r,rp,*,p " + Style.RESET_ALL)
    if inlinecommand == "r":
        postidreply = postid
        poster = posterusername
        replyinline(postidreply, poster)
    if inlinecommand == "rp":
        postidrepost = postid
        repostinline(postidrepost)
    if inlinecommand == "*":
        postidstar = postid
        starinline(postidstar)
    if inlinecommand == "p":
        postidpin = postid
        pininline(postidpin)


# DEFINE 10C GET TIMELINE SUBROUTINES:

# Define the 'timelinebase' subroutine:
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号