This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buku -a http://example.org/search/creator_name tag1, tag 2, tag3 --title 'creator_name' -c | |
buku -a http://example.org/search/creator_name tag1, tag 2, tag3 --title 'creator_name' -c 'comment' | |
# still disable internet, so it can't use it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dl { | |
return 0 | |
} | |
function dl-sort { | |
return 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# coding=utf-8 | |
import pickle | |
import os.path | |
from telethon.sync import TelegramClient | |
from telethon.tl.types import InputMessagesFilterPhotoVideo | |
''' Settings ''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
getFinalFilename () { | |
local -r filename="${1}" | |
local -r ext="${2}" | |
local -r idx="${3}" | |
if [[ -z "${idx}" ]]; then | |
local -r newFilename="${filename}.${ext}" |