Posts

Showing posts from September, 2026

song download 13th sep 26 working

  # Step 1: Install dependencies (yt-dlp, pydub, and system ffmpeg) ! pip install -q -U yt-dlp pydub ! apt-get install -y ffmpeg > /dev/null 2 >& 1 import os from google.colab import files from pydub import AudioSegment import yt_dlp # Step 2: Add your YouTube Shorts URLs here urls = [     "https://youtube.com/shorts/93fVhn248UQ?si=48VqCgZLIKOdyCqM" , "https://youtube.com/shorts/P9U7uqcOFBg?si=PFS3GdcrlvfHdF_6" , "https://youtube.com/shorts/MxoonR572Bo?si=UoswrYNwF-IMMqPK" , "https://youtube.com/shorts/MCGByoxmjWY?si=P67BYqZhB6QgXQkV" ] # Output path requested OUTPUT_FILE = "/content/out.mp3" TEMP_DIR = "/content/temp_audio" os.makedirs ( TEMP_DIR , exist_ok= True ) # Step 3: Configure yt-dlp options for MP3 extraction ydl_opts = {     "format" : "bestaudio/best" ,     "outtmpl" : os.path.join ( TEMP_DIR , "%(autonumber)02d_%(title)s.%(ext)s" ),     "postprocesso...

Chit

Chit Interest & Loss Calculator Time Left in Months (t): Total Chit Value (P): Enter Loss (to find Rate & Interest): Interest (I = P - Loss): 240000 Rate of Interest (r): 2.039124668 % Enter Rate of Interest (r %): Calculated Loss: 96774.19355

remove water mark PROOF in vista generaed pdf using colab after upload input.pdf as orginal in content folder of colab

 # ============================================================ # REMOVE "PROOF" WATERMARK FROM THIS TYPE OF PDF # ============================================================ # # Input : /content/input.pdf # Output: /content/out.pdf # # The watermark is stored inside a nested Form XObject. # We remove ONLY the text drawing operation (BT ... ET). # The original page/image is preserved. # ============================================================ !pip install PyMuPDF -q import fitz import re import os from google.colab import files INPUT = "/content/input.pdf" OUTPUT = "/content/out.pdf" doc = fitz.open(INPUT) print("Pages:", len(doc)) removed = 0 for page_no, page in enumerate(doc, start=1):     print(f"\nProcessing page {page_no}...")     # --------------------------------------------------------     # Find all Form XObjects recursively     # --------------------------------------------------------     def process_xobject(xref, l...