Comments (4)
Tried with a different file nd format, but the case persist !
from anydlbot.
can you share full traceback? and also the ENV var of DOWNLOAD_LOCATION, that you have filled?
from anydlbot.
2020-06-07T07:57:12.623882+00:00 app[worker.1]: 2020-06-07 07:57:12,623 - root - INFO - Started 4 UpdatesWorkerTasks
2020-06-07T07:57:12.624227+00:00 app[worker.1]: 2020-06-07 07:57:12,624 - root - INFO - Started 4 DownloadWorkerTasks
2020-06-07T07:57:12.624481+00:00 app[worker.1]: 2020-06-07 07:57:12,624 - root - INFO - Started 4 UpdateWorkerTasks
2020-06-07T07:57:47.919037+00:00 app[worker.1]: 2020-06-07 07:57:47,918 - plugins.youtube_dl_echo - INFO - {
2020-06-07T07:57:47.919047+00:00 app[worker.1]: "_": "pyrogram.User",
2020-06-07T07:57:47.919048+00:00 app[worker.1]: "id": xxxxxxxxxx,
2020-06-07T07:57:47.919048+00:00 app[worker.1]: "is_self": false,
2020-06-07T07:57:47.919048+00:00 app[worker.1]: "is_contact": false,
2020-06-07T07:57:47.919049+00:00 app[worker.1]: "is_mutual_contact": false,
2020-06-07T07:57:47.919049+00:00 app[worker.1]: "is_deleted": false,
2020-06-07T07:57:47.919050+00:00 app[worker.1]: "is_bot": false,
2020-06-07T07:57:47.919050+00:00 app[worker.1]: "is_verified": false,
2020-06-07T07:57:47.919050+00:00 app[worker.1]: "is_restricted": false,
2020-06-07T07:57:47.919051+00:00 app[worker.1]: "is_scam": false,
2020-06-07T07:57:47.919051+00:00 app[worker.1]: "is_support": false,
2020-06-07T07:57:47.919052+00:00 app[worker.1]: "first_name": "xxxxxxxx",
2020-06-07T07:57:47.919052+00:00 app[worker.1]: "status": "recently",
2020-06-07T07:57:47.919053+00:00 app[worker.1]: "username": "xxxxxxxxx",
2020-06-07T07:57:47.919053+00:00 app[worker.1]: "language_code": "en",
2020-06-07T07:57:47.919053+00:00 app[worker.1]: "dc_id": 5,
2020-06-07T07:57:47.919054+00:00 app[worker.1]: "photo": {
2020-06-07T07:57:47.919054+00:00 app[worker.1]: "_": "pyrogram.ChatPhoto",
2020-06-07T07:57:47.919056+00:00 app[worker.1]: }
2020-06-07T07:57:47.919056+00:00 app[worker.1]: }
2020-06-07T07:57:50.938526+00:00 app[worker.1]: 2020-06-07 07:57:50,938 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): i.ytimg.com:443
2020-06-07T07:57:50.966326+00:00 app[worker.1]: 2020-06-07 07:57:50,966 - urllib3.connectionpool - DEBUG - https://i.ytimg.com:443 "GET /vi/CPQKM2YJfnw/hqdefault.jpg HTTP/1.1" 200 28401
2020-06-07T07:57:51.124294+00:00 app[worker.1]: 2020-06-07 07:57:51,124 - root - INFO - NetWorkerTask started
2020-06-07T07:58:00.277172+00:00 app[worker.1]: 2020-06-07 07:58:00,276 - plugins.youtube_dl_button - INFO - ['youtube-dl', '-c', '--max-filesize', '1572864000', '--embed-subs', '-f', '250+bestaudio', '--hls-prefer-ffmpeg', 'https://youtu.be/CPQKM2YJfnw', '-o', './DOWNLOADS/1158349660/BAD Salsa: Indias Got Talent Winner Dance Duo SHOCK The Judges With HOT Fast Energetic Act_250.webm', '--proxy', '', '--no-warnings']
2020-06-07T07:58:02.716485+00:00 app[worker.1]: 2020-06-07 07:58:02,716 - plugins.youtube_dl_button - INFO - ERROR: The first format must contain the video, try using "-f 140+250"
2020-06-07T07:58:02.716597+00:00 app[worker.1]: 2020-06-07 07:58:02,716 - plugins.youtube_dl_button - INFO - [youtube] CPQKM2YJfnw: Downloading webpage
2020-06-07T07:58:02.717907+00:00 app[worker.1]: 2020-06-07 07:58:02,716 - pyrogram.client.ext.dispatcher - ERROR - module 'posixpath' has no attribute 'listdir'
2020-06-07T07:58:02.717908+00:00 app[worker.1]: Traceback (most recent call last):
2020-06-07T07:58:02.717909+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 204, in update_worker
2020-06-07T07:58:02.717909+00:00 app[worker.1]: await handler.callback(self.client, *args)
2020-06-07T07:58:02.717910+00:00 app[worker.1]: File "/app/plugins/cb_buttons.py", line 38, in button
2020-06-07T07:58:02.717910+00:00 app[worker.1]: await youtube_dl_call_back(bot, update)
2020-06-07T07:58:02.717911+00:00 app[worker.1]: File "/app/plugins/youtube_dl_button.py", line 182, in youtube_dl_call_back
2020-06-07T07:58:02.717911+00:00 app[worker.1]: download_directory_contents = os.path.listdir(download_directory_dirname)
2020-06-07T07:58:02.717912+00:00 app[worker.1]: AttributeError: module 'posixpath' has no attribute 'listdir'
from anydlbot.
ERROR: The first format must contain the video, try using "-f 140+250"
This happens when our wrapper is trying to take a wrong format.
For now, Please select any other format except the below four formats.
from anydlbot.
Related Issues (20)
- Translation
- Download speed from Youtube HOT 3
- Auth Users not working HOT 1
- Suggestions and one issue HOT 3
- Can't upload large files..Downloading completely but not uploading can u solve this HOT 1
- Bot commands HOT 5
- YTDL Error HOT 1
- No 'CHAT_BASE_TOKEN' in app.json HOT 1
- Convert To Stream Error
- convert to video HOT 3
- Fix #72
- Heroku Suspension Update HOT 1
- Custom Thumbnail
- generatescss issue
- Feature Request: Add ScreenShot Thumbnail Support
- Bug: Many Commands Not Working๐
- Feature Request: Split large files, so they can be uploaded into telegram. HOT 1
- #Question
- Telethon Version Too buggy & outdated ...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anydlbot.