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)
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)
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)