דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
מתמחים טופ
  1. דף הבית
  2. מחשבים וטכנולוגיה
  3. עזרה הדדית - מחשבים וטכנולוגיה
  4. מדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון

מדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון

מתוזמן נעוץ נעול הועבר עזרה הדדית - מחשבים וטכנולוגיה
47 פוסטים 10 כותבים 1.8k צפיות 9 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • TripleUT TripleU

    @יוסף-אלחנן
    (בגלל ההודעה הקופצת?)

    יוסף אלחנןי מנותק
    יוסף אלחנןי מנותק
    יוסף אלחנן
    מדריכים
    כתב נערך לאחרונה על ידי
    #37

    @TripleU
    What do you mean?

    TripleUT תגובה 1 תגובה אחרונה
    0
    • יוסף אלחנןי יוסף אלחנן

      @TripleU
      What do you mean?

      TripleUT מנותק
      TripleUT מנותק
      TripleU
      מדריכים
      כתב נערך לאחרונה על ידי
      #38

      @יוסף-אלחנן כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

      @TripleU
      What do you mean?

      At which point in the script have you detected that it's not ai generated?

      FSHLOMOF תגובה 1 תגובה אחרונה
      1
      • TripleUT TripleU

        @יוסף-אלחנן כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

        @TripleU
        What do you mean?

        At which point in the script have you detected that it's not ai generated?

        FSHLOMOF מנותק
        FSHLOMOF מנותק
        FSHLOMO
        כתב נערך לאחרונה על ידי
        #39

        @TripleU כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

        @יוסף-אלחנן כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

        @TripleU
        What do you mean?

        At which point in the script have you detected that it's not ai generated?

        You can't just run the forum like this and write in English 😉

        tisotbzol@gmail.com

        תגובה 1 תגובה אחרונה
        1
        • TripleUT TripleU

          וזה ליוטיוב ללא צורך בפיתון.
          🙃

          @echo off
          setlocal
          
          :: Check if yt-dlp.exe exists in the current directory
          if not exist yt-dlp.exe (
              echo yt-dlp.exe not found.
              echo Downloading yt-dlp...
              
              :: Download yt-dlp.exe
              powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
              
              :: Check if download was successful
              if not exist yt-dlp.exe (
                  echo Failed to download yt-dlp.exe. Exiting.
                  exit /b 1
              )
              
              :: Move yt-dlp.exe to user's Downloads folder
              move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
          
              :: Show popup info box
              mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
          )
          
          :: Prompt for YouTube playlist URL
          set /p playlistURL=Enter the YouTube playlist URL: 
          
          :: Define the output directory and file name pattern
          set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
          
          :: Run yt-dlp to download the playlist
          yt-dlp --yes-playlist --output "%output%" "%playlistURL%"
          
          :: Check the success of the download
          if %ERRORLEVEL% equ 0 (
              :: Flash green if successful
              echo Download successful!
              echo.
              echo Success
          ) else (
              :: Display error message if download fails
              echo Download failed.
          )
          
          endlocal
          pause
          
          
          FSHLOMOF מנותק
          FSHLOMOF מנותק
          FSHLOMO
          כתב נערך לאחרונה על ידי
          #40

          @TripleU כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

          וזה ליוטיוב ללא צורך בפיתון.
          🙃

          @echo off
          setlocal
          
          :: Check if yt-dlp.exe exists in the current directory
          if not exist yt-dlp.exe (
              echo yt-dlp.exe not found.
              echo Downloading yt-dlp...
              
              :: Download yt-dlp.exe
              powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
              
              :: Check if download was successful
              if not exist yt-dlp.exe (
                  echo Failed to download yt-dlp.exe. Exiting.
                  exit /b 1
              )
              
              :: Move yt-dlp.exe to user's Downloads folder
              move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
          
              :: Show popup info box
              mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
          )
          
          :: Prompt for YouTube playlist URL
          set /p playlistURL=Enter the YouTube playlist URL: 
          
          :: Define the output directory and file name pattern
          set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
          
          :: Run yt-dlp to download the playlist
          yt-dlp --yes-playlist --output "%output%" "%playlistURL%"
          
          :: Check the success of the download
          if %ERRORLEVEL% equ 0 (
              :: Flash green if successful
              echo Download successful!
              echo.
              echo Success
          ) else (
              :: Display error message if download fails
              echo Download failed.
          )
          
          endlocal
          pause
          
          

          356b10d0-69ba-4918-acdb-c4dcbb9f6cac-image.png

          tisotbzol@gmail.com

          TripleUT תגובה 1 תגובה אחרונה
          0
          • H hartkhartk

            בס"ד

            מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון
            שימו לב

            1. זה שיטה מאוד מסובכת בפעם הראשונה אבל חינמית יעילה ואוטומטית מאוד לאחר ההגדרה הראשונית
            2. זה מוריד מיוטיוב לפי הרשימה של הפלייליסט ספוטיפיי
            3. קרדיט . צ'אט GPT

            1

            דבר ראשון יש להתקין את פייתון. כנסו לכתובת https://www.python.org

            האתר של פייתון.png

            כנסו ל downloads \ הורדות

            הורדות באתר של פייתון.png

            תורידו ותתקינו עם הרשאת מנהל המערכת כולל כל האפשרויות

            2

            תכנסו לאתר של ספוטיפיי למפתחים בכתובת https://developer.spotify.com
            תצטרפו לספוטיפיי למפתחים עם החשבון ספוטיפיי שלכם
            ולאחר מכן כנסו לקישור
            https://developer.spotify.com/dashboard

            ספוטיפיי למפתחים.png

            לחץ על צור אפליקציה

            יצירת אפלקציה.png

            בשם האפליקציה תכתבו מה שאתם רוצים
            וכן בתיאור האפליקציה תכתבו מה שאתם רוצים.
            לשורה כתובת URL להפניה מחדש תעתיקו את זה
            http://localhost:8888/callback
            ותדביקו בשורה כתובת URL להפניה מחדש
            תלחצו על הוסף בשורה כתובת URL להפניה מחדש
            ולמטה תלחצו save\להציל

            3

            תחפשו באתחל CMD או שורת הפקודה ותפתחו
            זה החלון שיפתח

            שורת הפקודה  CMD.png

            תעתיקו את השורה הבא : pip install spotipy ותדביקו בשורת הפקודה ולחצו ENTER (הבא)
            יתחיל לרוץ שורות את ששורת הפקודה תגמור את ההתקנה
            כשיחזור שוב שורה זאת c:\users\שם המשתמש שלכם
            וכעת תעתיקו את השורה הבא : pip install yt-dlp בשורת הפקודה ולחצו ENTER (הבא)
            יתחיל לרוץ שורות את ששורת הפקודה תגמור את ההתקנה

            4
            תחפשו באתחל IDLE ותפתחו אותו

            IDLE.png

            כנסו ל file ושם כנסו ל new file

            תעתיקו את הקטע קוד הבא

            import spotipy
            from spotipy.oauth2 import SpotifyOAuth
            import json
            
            # הגדרות ספוטיפיי
            SPOTIPY_CLIENT_ID = 'הכנס מזהה לקוח'
            SPOTIPY_CLIENT_SECRET = 'הכנס סוד הלקוח'
            SPOTIPY_REDIRECT_URI = 'http://localhost:8888/callback'
            SCOPE = 'playlist-read-private'
            
            sp_oauth = SpotifyOAuth(SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, SPOTIPY_REDIRECT_URI, scope=SCOPE)
            
            def get_playlist_tracks(playlist_uri):
                sp = spotipy.Spotify(auth_manager=sp_oauth)
                playlist_tracks = sp.playlist_tracks(playlist_uri)
                tracks = []
                for item in playlist_tracks['items']:
                    track = item['track']
                    track_info = f"{track['name']} - {track['artists'][0]['name']}"
                    tracks.append(track_info)
                return tracks
            
            if __name__ == "__main__":
                playlist_uri = 'הכנס קישור לשיר או לפלייליסט'
                tracks = get_playlist_tracks(playlist_uri)
                with open('tracks.txt', 'w', encoding='utf-8') as f:
                    for track in tracks:
                        f.write(f"{track}\n")
            import yt_dlp
            import os
            
            def download_tracks(tracks_file, download_path):
                # יצירת תיקיית ההורדות אם לא קיימת
                if not os.path.exists(download_path):
                    os.makedirs(download_path)
            
                with open(tracks_file, 'r', encoding='utf-8') as file:
                    tracks = file.readlines()
            
                for track in tracks:
                    track = track.strip()
                    search_query = f"{track}"
                    ydl_opts = {
                        'format': 'bestaudio/best',
                        'outtmpl': os.path.join(download_path, '%(title)s.%(ext)s'),
                        'default_search': 'ytsearch',
                    }
                    with yt_dlp.YoutubeDL(ydl_opts) as ydl:
                        ydl.download([search_query])
            
            if __name__ == "__main__":
                download_path = 'הכניסו נתיב למקום הורדת הקבצים'  # שנה לנתיב הרצוי שלך
                download_tracks('tracks.txt', download_path)
            

            ותדביקו בחלון שנפתח (אחרי file. ו new file)

            כנסו שוב לכתובת

            https://developer.spotify.com/dashboard
            כנסו לאפליקציה שיצרתם בשלב 3

            כניסה לאפליקציה.png

            כנסו להגדרות

            הצג את סוד הלקוח.png

            לחץ הצג סוד לקוח

            לקוח.png

            תעתיקו את התוכן של מזהה לקוח ואת התוכן של סוד לקוח (מה שבתוך הריבוע בתמונה)

            בקטע קוד הזה

            # הגדרות ספוטיפיי
            SPOTIPY_CLIENT_ID = 'הכנס מזהה לקוח'
            SPOTIPY_CLIENT_SECRET = 'הכנס סוד הלקוח'
            SPOTIPY_REDIRECT_URI = 'http://localhost:8888/callback'
            SCOPE = 'playlist-read-private'
            

            צריך לשנות את זה

            את הכנס מזהה לקוח לשנות לתוכן של מזהה לקוח שהעתקנו לפני
            שים לב שזה יהיה בתוך ' ' (גרש בודד משני הכיוונים)

            את הכנס סוד לקוח לשנות לתוכן של סוד לקוח שהעתקנו לפני
            שים לב שזה יהיה בתוך ' ' (גרש בודד משני הכיוונים)

            בשורת הקוד הזה

            **SPOTIPY_REDIRECT_URI = 'http://localhost:8888/callback**' 
            

            תבדוק שהכתובת שכתוב כאן זה אותו דבר בדיוק ממה שמופיע באפליקציה שבספוטיפיי למפתחים בשורה כתובת URL להפניה מחדש שים לב שזה יהיה בתוך ' ' (גרש בודד משני הכיוונים)

            בקטע קוד הזה

            if __name__ == "__main__":
                playlist_uri = 'הכנס קישור לשיר או לפלייליסט'
                tracks = get_playlist_tracks(playlist_uri)
                with open('tracks.txt', 'w', encoding='utf-8') as f:
                    for track in tracks:
                        f.write(f"{track}\n")
            

            צריך לשנות את זה

            את הכנס קישור לשיר או לפלייליסט לשנות לקישור של ספוטיפיי
            (אבל איך מוצאים את הקישור?!)
            איך מוצאים את הקישור לשיר או לפליייליסט של ספוטיפיי?
            נכנסים לספוטיפיי נכנסים לשיר או לפלייליסט

            ספוטיפיי.png

            לוחצים ... (שלוש נקודות) שיתוף והעתקת הקישור שים לב שזה יהיה בתוך ' ' (גרש בודד משני הכיוונים)
            בקטע קוד הזה

            if __name__ == "__main__":
                download_path = 'הכניסו נתיב למקום הורדת הקבצים'  # שנה לנתיב הרצוי שלך
                download_tracks('tracks.txt', download_path)*
            

            צריך לשנות את זה

            את הכניסו נתיב למקום הורדת הקבצים לשנות לנתיב ההורדה
            שימו לב! יש להפוך את ה סלשים זה מגיע כך \ וצריך לשנות את כולם ל /
            (אבל איך כותבים נתיב?!)
            איך כותבים נתיב? נכנסים בסייר הקבצים אל המקום הרצוי

            נתיב.png

            לוחצים על השורה המסומנת ומעתיקים וזהו יש לכם נתיב

            תלחצו F5 ותלחצו כן ותבחרו היכן לשמור את הקובץ קוד פייתון וזה ירוץ ויוריד את הקישור ששמתם במיקום ששמתם

            בפעם הבא זה כבר פשוט נגשים לקובץ קוד פייתון מחליפים את הקישור ואת הנתיב ושוב F5 ומריצים והקישור ששמתם ירד למיקום ששמתם

            הנני העניה מנותק
            הנני העניה מנותק
            הנני העני
            מדריכים
            כתב נערך לאחרונה על ידי
            #41

            @hartkhartk
            תודה על המדריך.
            לכאו' יש כאן דרך נוספת פשוטה ביותר:
            https://mitmachim.top/topic/51954/להורדה-spotiflyer-תוכנה-להורדה-מ-spotify-בקלות

            .

            תגובה 1 תגובה אחרונה
            0
            • FSHLOMOF FSHLOMO

              @TripleU כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

              וזה ליוטיוב ללא צורך בפיתון.
              🙃

              @echo off
              setlocal
              
              :: Check if yt-dlp.exe exists in the current directory
              if not exist yt-dlp.exe (
                  echo yt-dlp.exe not found.
                  echo Downloading yt-dlp...
                  
                  :: Download yt-dlp.exe
                  powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
                  
                  :: Check if download was successful
                  if not exist yt-dlp.exe (
                      echo Failed to download yt-dlp.exe. Exiting.
                      exit /b 1
                  )
                  
                  :: Move yt-dlp.exe to user's Downloads folder
                  move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
              
                  :: Show popup info box
                  mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
              )
              
              :: Prompt for YouTube playlist URL
              set /p playlistURL=Enter the YouTube playlist URL: 
              
              :: Define the output directory and file name pattern
              set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
              
              :: Run yt-dlp to download the playlist
              yt-dlp --yes-playlist --output "%output%" "%playlistURL%"
              
              :: Check the success of the download
              if %ERRORLEVEL% equ 0 (
                  :: Flash green if successful
                  echo Download successful!
                  echo.
                  echo Success
              ) else (
                  :: Display error message if download fails
                  echo Download failed.
              )
              
              endlocal
              pause
              
              

              356b10d0-69ba-4918-acdb-c4dcbb9f6cac-image.png

              TripleUT מנותק
              TripleUT מנותק
              TripleU
              מדריכים
              כתב נערך לאחרונה על ידי TripleU
              #42

              @FSHLOMO
              לא ציפיתי למחסום הביטחוני הזה 😔
              זה דבר חדש. פעם זה עבד טוב
              יש לי גם VPN, אז אולי אני לא צריך לאמת מטעמי אבטחה

              TripleUT תגובה 1 תגובה אחרונה
              1
              • TripleUT TripleU

                @FSHLOMO
                לא ציפיתי למחסום הביטחוני הזה 😔
                זה דבר חדש. פעם זה עבד טוב
                יש לי גם VPN, אז אולי אני לא צריך לאמת מטעמי אבטחה

                TripleUT מנותק
                TripleUT מנותק
                TripleU
                מדריכים
                כתב נערך לאחרונה על ידי
                #43

                הנה תסריט מעודכן. תבדוק אם זה עובד.

                @echo off
                setlocal
                 
                :: Check if yt-dlp.exe exists in the current directory
                if not exist yt-dlp.exe (
                    echo yt-dlp.exe not found.
                    echo Downloading yt-dlp...
                    
                    :: Download yt-dlp.exe
                    powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
                    
                    :: Check if download was successful
                    if not exist yt-dlp.exe (
                        echo Failed to download yt-dlp.exe. Exiting.
                        exit /b 1
                    )
                    
                    :: Move yt-dlp.exe to user's Downloads folder
                    move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
                 
                    :: Show popup info box
                    mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
                )
                 
                :: Prompt for YouTube playlist URL
                set /p playlistURL=Enter the YouTube playlist URL:
                 
                :: Define the output directory and file name pattern
                set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
                 
                :: Run yt-dlp to download the playlist
                "%USERPROFILE%\Downloads\yt-dlp.exe" --yes-playlist --output "%output%" "%playlistURL%"
                 
                :: Check the success of the download
                if %ERRORLEVEL% equ 0 (
                    :: Flash green if successful
                    echo Download successful!
                    echo.
                    echo Success
                ) else (
                    :: Display error message if download fails
                    echo Download failed.
                )
                 
                endlocal
                pause
                
                FSHLOMOF תגובה 1 תגובה אחרונה
                0
                • TripleUT TripleU

                  הנה תסריט מעודכן. תבדוק אם זה עובד.

                  @echo off
                  setlocal
                   
                  :: Check if yt-dlp.exe exists in the current directory
                  if not exist yt-dlp.exe (
                      echo yt-dlp.exe not found.
                      echo Downloading yt-dlp...
                      
                      :: Download yt-dlp.exe
                      powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
                      
                      :: Check if download was successful
                      if not exist yt-dlp.exe (
                          echo Failed to download yt-dlp.exe. Exiting.
                          exit /b 1
                      )
                      
                      :: Move yt-dlp.exe to user's Downloads folder
                      move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
                   
                      :: Show popup info box
                      mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
                  )
                   
                  :: Prompt for YouTube playlist URL
                  set /p playlistURL=Enter the YouTube playlist URL:
                   
                  :: Define the output directory and file name pattern
                  set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
                   
                  :: Run yt-dlp to download the playlist
                  "%USERPROFILE%\Downloads\yt-dlp.exe" --yes-playlist --output "%output%" "%playlistURL%"
                   
                  :: Check the success of the download
                  if %ERRORLEVEL% equ 0 (
                      :: Flash green if successful
                      echo Download successful!
                      echo.
                      echo Success
                  ) else (
                      :: Display error message if download fails
                      echo Download failed.
                  )
                   
                  endlocal
                  pause
                  
                  FSHLOMOF מנותק
                  FSHLOMOF מנותק
                  FSHLOMO
                  כתב נערך לאחרונה על ידי
                  #44

                  @TripleU כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

                  הנה תסריט מעודכן. תבדוק אם זה עובד.

                  @echo off
                  setlocal
                   
                  :: Check if yt-dlp.exe exists in the current directory
                  if not exist yt-dlp.exe (
                      echo yt-dlp.exe not found.
                      echo Downloading yt-dlp...
                      
                      :: Download yt-dlp.exe
                      powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
                      
                      :: Check if download was successful
                      if not exist yt-dlp.exe (
                          echo Failed to download yt-dlp.exe. Exiting.
                          exit /b 1
                      )
                      
                      :: Move yt-dlp.exe to user's Downloads folder
                      move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
                   
                      :: Show popup info box
                      mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
                  )
                   
                  :: Prompt for YouTube playlist URL
                  set /p playlistURL=Enter the YouTube playlist URL:
                   
                  :: Define the output directory and file name pattern
                  set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
                   
                  :: Run yt-dlp to download the playlist
                  "%USERPROFILE%\Downloads\yt-dlp.exe" --yes-playlist --output "%output%" "%playlistURL%"
                   
                  :: Check the success of the download
                  if %ERRORLEVEL% equ 0 (
                      :: Flash green if successful
                      echo Download successful!
                      echo.
                      echo Success
                  ) else (
                      :: Display error message if download fails
                      echo Download failed.
                  )
                   
                  endlocal
                  pause
                  

                  2fc3a120-63d2-4c19-a72a-9e64701478fe-image.png

                  tisotbzol@gmail.com

                  TripleUT תגובה 1 תגובה אחרונה
                  0
                  • FSHLOMOF FSHLOMO

                    @TripleU כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

                    הנה תסריט מעודכן. תבדוק אם זה עובד.

                    @echo off
                    setlocal
                     
                    :: Check if yt-dlp.exe exists in the current directory
                    if not exist yt-dlp.exe (
                        echo yt-dlp.exe not found.
                        echo Downloading yt-dlp...
                        
                        :: Download yt-dlp.exe
                        powershell -Command "Invoke-WebRequest -Uri 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe' -OutFile 'yt-dlp.exe'"
                        
                        :: Check if download was successful
                        if not exist yt-dlp.exe (
                            echo Failed to download yt-dlp.exe. Exiting.
                            exit /b 1
                        )
                        
                        :: Move yt-dlp.exe to user's Downloads folder
                        move /Y yt-dlp.exe "%USERPROFILE%\Downloads\yt-dlp.exe"
                     
                        :: Show popup info box
                        mshta.exe "javascript:alert('yt-dlp.exe has been downloaded successfully! Credit @AngryAdminShmuel');window.close();"
                    )
                     
                    :: Prompt for YouTube playlist URL
                    set /p playlistURL=Enter the YouTube playlist URL:
                     
                    :: Define the output directory and file name pattern
                    set "output=Downloads\%(playlist_title)s\%(title)s.%(ext)s"
                     
                    :: Run yt-dlp to download the playlist
                    "%USERPROFILE%\Downloads\yt-dlp.exe" --yes-playlist --output "%output%" "%playlistURL%"
                     
                    :: Check the success of the download
                    if %ERRORLEVEL% equ 0 (
                        :: Flash green if successful
                        echo Download successful!
                        echo.
                        echo Success
                    ) else (
                        :: Display error message if download fails
                        echo Download failed.
                    )
                     
                    endlocal
                    pause
                    

                    2fc3a120-63d2-4c19-a72a-9e64701478fe-image.png

                    TripleUT מנותק
                    TripleUT מנותק
                    TripleU
                    מדריכים
                    כתב נערך לאחרונה על ידי TripleU
                    #45

                    @FSHLOMO
                    אני מוותר על זה 😔

                    יוסף אלחנןי תגובה 1 תגובה אחרונה
                    0
                    • TripleUT TripleU

                      @FSHLOMO
                      אני מוותר על זה 😔

                      יוסף אלחנןי מנותק
                      יוסף אלחנןי מנותק
                      יוסף אלחנן
                      מדריכים
                      כתב נערך לאחרונה על ידי
                      #46

                      @TripleU
                      אתה בטח מתכוון 'מתייאש מזה'...

                      'I gave up...'

                      FSHLOMOF תגובה 1 תגובה אחרונה
                      0
                      • יוסף אלחנןי יוסף אלחנן

                        @TripleU
                        אתה בטח מתכוון 'מתייאש מזה'...

                        'I gave up...'

                        FSHLOMOF מנותק
                        FSHLOMOF מנותק
                        FSHLOMO
                        כתב נערך לאחרונה על ידי
                        #47

                        @יוסף-אלחנן כתב במדריך | מדריך להורדת שירים ופלייליסטים מספוטיפיי דרך יוטיוב באמצעות סקריפט פייתון:

                        @TripleU
                        אתה בטח מתכוון 'מתייאש מזה'...

                        'I gave up...'

                        הבנו
                        אתה לא צריך כל פעם לתקן אותו😵

                        tisotbzol@gmail.com

                        תגובה 1 תגובה אחרונה
                        2

                        • התחברות

                        • אין לך חשבון עדיין? הרשמה

                        • התחברו או הירשמו כדי לחפש.
                        • פוסט ראשון
                          פוסט אחרון
                        0
                        • חוקי הפורום
                        • פופולרי
                        • לא נפתר
                        • משתמשים
                        • חיפוש גוגל בפורום
                        • צור קשר