|
18 | 18 | Check here all supported <a href='https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md'>SITES</a>
|
19 | 19 | Check all yt-dlp api options from this <a href='https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/YoutubeDL.py#L184'>FILE</a> or use this <a href='https://t.me/mltb_official_channel/177'>script</a> to convert cli arguments to api options."""
|
20 | 20 |
|
| 21 | +clone = """Send Gdrive|Gdot|Filepress|Filebee|Appdrive|Gdflix link or rclone path along with command or by replying to the link/rc_path by command. |
| 22 | +Use -sync to use sync method in rclone. Example: /cmd rcl/rclone_path -up rcl/rclone_path/rc -sync""" |
| 23 | + |
21 | 24 | new_name = """<b>New Name</b>: -n
|
22 | 25 |
|
23 | 26 | /cmd link -n new name
|
|
154 | 157 | You can add tuple and dict also. Use double quotes inside dict."""
|
155 | 158 |
|
156 | 159 | convert_media = """<b>Convert Media</b>: -ca -cv
|
157 |
| -/cmd link -ca mp3 -cv mp4 (convert all audios to mp3 and videos to mp4) |
| 160 | +/cmd link -ca mp3 -cv mp4 (convert all audios to mp3 and all videos to mp4) |
158 | 161 | /cmd link -ca mp3 (convert all audios to mp3)
|
159 | 162 | /cmd link -cv mp4 (convert all videos to mp4)
|
160 | 163 | /cmd link -ca mp3 + flac ogg (convert only flac and ogg audios to mp3)
|
|
165 | 168 | /cmd link -fd (force download only)
|
166 | 169 | /cmd link -fu (force upload directly after download finish)"""
|
167 | 170 |
|
| 171 | +gdrive = """<b>Gdrive</b>: link |
| 172 | +If DEFAULT_UPLOAD is `rc` then you can pass up: `gd` to upload using gdrive tools to GDRIVE_ID. |
| 173 | +/cmd gdriveLink or gdl or gdriveId -up gdl or gdriveId or gd |
| 174 | +/cmd tp:gdriveLink or tp:gdriveId -up tp:gdriveId or gdl or gd (to use token.pickle if service account enabled) |
| 175 | +/cmd sa:gdriveLink or sa:gdriveId -p sa:gdriveId or gdl or gd (to use service account if service account disabled) |
| 176 | +/cmd mtp:gdriveLink or mtp:gdriveId -up mtp:gdriveId or gdl or gd(if you have added upload gdriveId from usetting) (to use user token.pickle that uploaded by usetting)""" |
| 177 | + |
| 178 | +rclone_cl = """<b>Rclone</b>: path |
| 179 | +If DEFAULT_UPLOAD is `gd` then you can pass up: `rc` to upload to RCLONE_PATH. |
| 180 | +/cmd rcl/rclone_path -up rcl/rclone_path/rc -rcf flagkey:flagvalue|flagkey|flagkey:flagvalue |
| 181 | +/cmd rcl or rclonePath -up rclonePath or rc or rcl |
| 182 | +/cmd mrcc:rclonePath -up rcl or rc(if you have add rclone path from usetting) (to use user config)""" |
| 183 | + |
168 | 184 | YT_HELP_DICT = {
|
169 | 185 | "main": yt,
|
170 | 186 | "New-Name": f"{new_name}\nNote: Don't add file extension",
|
|
209 | 225 | "User-Download": user_download,
|
210 | 226 | }
|
211 | 227 |
|
| 228 | +CLONE_HELP_DICT = { |
| 229 | + "main": clone, |
| 230 | + "Multi-Link": multi_link, |
| 231 | + "Bulk": bulk, |
| 232 | + "Gdrive": gdrive, |
| 233 | + "Rclone": rclone_cl, |
| 234 | +} |
| 235 | + |
212 | 236 | RSS_HELP_MESSAGE = """
|
213 | 237 | Use this format to add feed url:
|
214 | 238 | Title1 link (required)
|
|
232 | 256 | Timeout: 60 sec.
|
233 | 257 | """
|
234 | 258 |
|
235 |
| -CLONE_HELP_MESSAGE = """ |
236 |
| -Send Gdrive|Gdot|Filepress|Filebee|Appdrive|Gdflix link or rclone path along with command or by replying to the link/rc_path by command. |
237 |
| -
|
238 |
| -<b>Multi links only by replying to first gdlink or rclone_path:</b> -i |
239 |
| -/cmd -i 10(number of links/paths) |
240 |
| -
|
241 |
| -<b>Bulk Clone</b>: -b |
242 |
| -Bulk can be used by text message and by replying to text file contains links seperated by new line. |
243 |
| -You can use it only by reply to message(text/file). |
244 |
| -Example: |
245 |
| -link1 -up remote1:path1 -rcf |key:value|key:value |
246 |
| -link2 -up remote2:path2 |
247 |
| -link3 -up remote2:path2 |
248 |
| -Reply to this example by this cmd /cmd -b(bulk) |
249 |
| -You can set start and end of the links from the bulk like seed, with -b start:end or only end by -b :end or only start by -b start. The default start is from zero(first link) to inf. |
250 |
| -
|
251 |
| -<b>Clone Destination</b>: -up |
252 |
| -If DEFAULT_UPLOAD is `rc` then you can pass up: `gd` to upload using gdrive tools to GDRIVE_ID. |
253 |
| -If DEFAULT_UPLOAD is `gd` then you can pass up: `rc` to upload to RCLONE_PATH. |
254 |
| -If you want to add path or gdrive manually from your config/token (uploaded from usetting) add mrcc: for rclone and mtp: before the path/gdrive_id without space. |
255 |
| -Incase you want to specify whether using token or service accounts you can add tp:link or tp:gdrive_id or sa:link or sa:gdrive_id. This for links and upload destination. |
256 |
| -
|
257 |
| -<b>Gdrive:</b> |
258 |
| -/cmd gdrivelink/gdl/gdrive_id -up gdl/gdrive_id/gd |
259 |
| -
|
260 |
| -<b>Rclone:</b> |
261 |
| -/cmd rcl/rclone_path -up rcl/rclone_path/rc -rcf flagkey:flagvalue|flagkey|flagkey:flagvalue |
262 |
| -Use -sync to use sync method in rclone. Example: /cmd rcl/rclone_path -up rcl/rclone_path/rc -sync |
263 |
| -""" |
264 |
| - |
265 | 259 | PASSWORD_ERROR_MESSAGE = """
|
266 | 260 | <b>This link requires a password!</b>
|
267 | 261 | - Insert <b>::</b> after the link and write the password after the sign.
|
|
0 commit comments