gpchelkin / scdlbot

Telegram Bot for downloading MP3 rips of tracks/sets from SoundCloud, Bandcamp, YouTube with tags and artwork.
https://t.me/scdlbot
MIT License
352 stars 168 forks source link

Can't start it #787

Open Columbist opened 6 months ago

Columbist commented 6 months ago

Description

I start Using only Bash & Python At the first steps I got - This command isn't allowed in this chat. - in bot chat and in group with bot After whitelisting the chat ID I have another log on any kind of links - [main] INFO: Entry URL is not valid or blacklisted: https://m.soundcloud.com/falling-ethics/jk-flesh-static-demon-fexelvn004 [main] INFO: prepare_urls: urls list: [] or [main] INFO: Entry URL is not valid or blacklisted: http://youtu.be/Mdzy5RKn434 [main] INFO: prepare_urls: urls list: []

gpchelkin commented 6 months ago

@Columbist please comment the following lines in your .env file:

#COOKIES_FILE="https://example.com/cookies.txt"
#PROXIES="http://127.0.0.1:3187,http://127.0.0.1:3188,"
#SOURCE_IPS="9.21.18.2,9.21.16.9"
#WHITELIST_DOMAINS="example.com,subdomain.example.com"
#BLACKLIST_DOMAINS="example.com,subdomain.example.com"
#WHITELIST_CHATS="-1795100,1795102"
#BLACKLIST_CHATS="-1795100,1795102"
#SYSLOG_ADDRESS="logs2.papertrailapp.com:51181"

(or set them up if you are willing to, but in general case you don't need it).

I am going to clarify their usage in the sample file comments later :slightly_smiling_face:

But pay attention to setting correct TG_BOT_TOKEN, TG_BOT_OWNER_CHAT_ID (get from https://t.me/my_id_bot), CHAT_STORAGE, DL_DIR. That should be sufficient to run.

Columbist commented 6 months ago

Thanks for the fast response. Your advice helped, thanks again. I'm not so strong in linux, just starting to understand, could you suggest me how to start it like a process in background correctly