示例#1
0
def dmmlink(update, context):
    if len(context.args) == 1:
        searchlink = context.args[0]

    else:
        searchlink = ' '.join(context.args[:])

    #print(searchlink)

    text = dmmlinks(searchlink)

    msg = long_message(update, context, text)
示例#2
0
def top30(update, context):
    searchlink = 'https://www.dmm.co.jp/digital/videoa/-/list/=/limit=30/sort=ranking/'
    text = dmmlinks(searchlink)
    update.message.reply_markdown(text)
示例#3
0
def new30(update, context):
    searchlink = 'https://www.dmm.co.jp/digital/videoa/-/list/=/article=latest/limit=30/sort=date/'
    text = dmmlinks(searchlink)
    update.message.reply_markdown(text)