Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start it #787

Open
Columbist opened this issue Mar 1, 2024 · 2 comments
Open

Can't start it #787

Columbist opened this issue Mar 1, 2024 · 2 comments
Assignees

Comments

@Columbist
Copy link

  • scdlbot version: latest
  • Python version: 3.10
  • Operating System: Xubuntu

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
Copy link
Owner

@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 🙂

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.

@gpchelkin gpchelkin self-assigned this Mar 1, 2024
@Columbist
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants