Skip to content

Commit 8d0638f

Browse files
committed
fix merge conflicts
1 parent c506252 commit 8d0638f

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ updates:
88
- package-ecosystem: "pip"
99
directory: "src"
1010
schedule:
11-
interval: "weekly"
11+
interval: "weekly"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ COPY src /bot
1414

1515
WORKDIR /bot
1616

17-
CMD ["python", "main.py"]
17+
CMD ["python", "main.py"]

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,5 @@ Example:
135135
```bash
136136
**https://www.youtube.com/watch?v=rxdu3whDVSM or with a space ** https://www.youtube.com/watch?v=rxdu3whDVSM
137137
```
138-
<<<<<<< HEAD
139-
=======
140-
141-
>>>>>>> upstream/main
142138
- Full list of supported sites here: [yt-dlp Supported Sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)
143139
---

src/video_utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@ def get_video_duration(video_path):
7070
"format=duration",
7171
"-of",
7272
"default=noprint_wrappers=1:nokey=1",
73-
<<<<<<< HEAD:src/video_utils.py
7473
video_path,
75-
=======
76-
video_path
77-
>>>>>>> upstream/main:video_utils.py
7874
]
7975
try:
8076
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True)
@@ -109,11 +105,7 @@ def download_video(url):
109105
"vcodec:h264,fps,res,acodec:m4a",
110106
url,
111107
"-o",
112-
<<<<<<< HEAD:src/video_utils.py
113108
os.path.join(temp_dir, "%(id)s.%(ext)s"),
114-
=======
115-
os.path.join(temp_dir, "%(id)s.%(ext)s")
116-
>>>>>>> upstream/main:video_utils.py
117109
]
118110

119111
try:

0 commit comments

Comments
 (0)