Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Script.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class script(object):

SOURCE_TXT = """<b>
NOTE:
- Create Your Bot ◉› :<blockquote><a href="https://youtu.be/mWCsVUOKuoI?si=7qVkoBfDxMCXt-ms">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
- Create Your Bot ◉› :<blockquote><a href="https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>

developer : Mr.Jisshu
</b>"""
Comment on lines 339 to 344
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Prefer a canonical YouTube URL; current share link includes an unnecessary si parameter

The short-share URL with ?si= is often ephemeral and not needed. A canonical watch URL is more stable and predictable.

Apply this diff to simplify the link:

- - Create Your Bot ◉› :<blockquote><a href="https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
+ - Create Your Bot ◉› :<blockquote><a href="https://www.youtube.com/watch?v=BSJa1UytM8w">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>

Optionally verify both links resolve (expects 200 status):


🏁 Script executed:

#!/bin/bash
set -euo pipefail

for url in \
  'https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx' \
  'https://www.youtube.com/watch?v=BSJa1UytM8w'
do
  echo "Checking: $url"
  curl -s -o /dev/null -w "HTTP %{http_code} -> %{url_effective}\n" -L "$url"
done

Length of output: 871


Simplify YouTube URL to canonical watch link

The existing short-share link with the ?si= parameter correctly redirects but includes an unnecessary, ephemeral query param. Use the stable, canonical watch URL.

• File: Script.py, lines 339–344

- - Create Your Bot ◉› :<blockquote><a href="https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
+ - Create Your Bot ◉› :<blockquote><a href="https://www.youtube.com/watch?v=BSJa1UytM8w">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
SOURCE_TXT = """<b>
NOTE:
- Create Your Bot ◉› :<blockquote><a href="https://youtu.be/mWCsVUOKuoI?si=7qVkoBfDxMCXt-ms">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
- Create Your Bot ◉› :<blockquote><a href="https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
developer : Mr.Jisshu
</b>"""
SOURCE_TXT = """<b>
NOTE:
- Create Your Bot ◉› :<blockquote><a href="https://www.youtube.com/watch?v=BSJa1UytM8w">𝗝𝗶𝘀𝘀𝗵𝘂-𝗙𝗶𝗹𝘁𝗲𝗿-𝗕𝗼𝘁</a></blockquote>
developer : Mr.Jisshu
</b>"""
🤖 Prompt for AI Agents
In Script.py around lines 339 to 344, the YouTube short-share link includes an
unnecessary ephemeral query parameter (?si=...) — replace the short link
https://youtu.be/BSJa1UytM8w?si=s9YXDBXZcY2dEMYx with the canonical watch URL
https://www.youtube.com/watch?v=BSJa1UytM8w (i.e., remove the ?si parameter and
use the full www.youtube.com/watch?v=VIDEO_ID form) so the string uses the
stable watch link.

Expand All @@ -356,7 +356,7 @@ class script(object):
------------Set File Caption-----------
/set_caption - set coustom file caption
-----------Set Imdb Template-----------
/set_template - set IMDb template <a href="https://t.me/Jisshu_developer/8">Example</a>
/set_template - set IMDb template <a href="https://t.me/Udscx">Example</a>
--------------Set Tutorial-------------
/set_tutorial - set verification tutorial
-------------Set Log Channel-----------
Expand All @@ -367,4 +367,5 @@ class script(object):
ʏᴏᴜ ᴄᴀɴ ᴄʜᴇᴄᴋ ʏᴏᴜʀ ᴀʟʟ ᴅᴇᴛᴀɪʟs
ʙʏ /details ᴄᴏᴍᴍᴀɴᴅ
</blockquote>
Iғ ʏᴏᴜ ʜᴀᴠᴇ ᴀɴʏ ᴅᴏᴜʙᴛs ᴘʟᴇᴀsᴇ <a href="https://t.me/IM_JISSHU">ᴄᴏɴᴛᴀᴄᴛ</a> ᴍʏ <a href="https://t.me/IM_JISSHU">ᴀᴅᴍɪɴ</a></b>"""
Iғ ʏᴏᴜ ʜᴀᴠᴇ ᴀɴʏ ᴅᴏᴜʙᴛs ᴘʟᴇᴀsᴇ <a href="https://t.me/IM_JISSHU">ᴄᴏɴᴛᴀᴄᴛ</a> ᴍʏ <a href="https://t.me/Udscx">ᴀᴅᴍɪɴ</a></b>"""