• Python misbehavior

    From Jim@21:1/5 to All on Tue Feb 6 21:46:05 2024
    Friends,
    Please forgive me if this is not the proper forum for dealing with an issue of mine, but I am at a loss in finding a fix for a python problem in the program ClipGrab. The program allows one to download videos or audios from YouTube and other media sites.
    My limited understanding of the process suggests that python facilitates the transfer of data from YouTube to ClipGrab. As of recently, I am unable to use the ClipGrab program and the issue at fault has something to do with python. In an "about" screen
    within ClipGrab my (now) incapable python script reads:

    youtube-dlp: (C:\Program Files (x86)\ClipGrab\python\python.exe: can't find '_main_' module in " ) Python: C:/Program Files (x86)/ClipGrab/python/python.exe (Python 3.8.9)

    Since this problem began I downloaded ClipGrab on to another desktop computer and it runs perfectly without a problem. The script on the "about" page does not indicate anything about "can't find -main- module" etc. Is there any advice you can offer to
    overcome this and recover my downloading connections to YouTube? Or, if this is the wrong group to handle such issues, could you please pass my message on to a better choice?

    Gratefully,
    Jim Haas

    Sent from my iPhone

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Damon@21:1/5 to Jim via Python-list on Thu Feb 8 07:52:13 2024
    On 2/6/24 10:46 PM, Jim via Python-list wrote:
    Friends,
    Please forgive me if this is not the proper forum for dealing with an issue of mine, but I am at a loss in finding a fix for a python problem in the program ClipGrab. The program allows one to download videos or audios from YouTube and other media
    sites. My limited understanding of the process suggests that python facilitates the transfer of data from YouTube to ClipGrab. As of recently, I am unable to use the ClipGrab program and the issue at fault has something to do with python. In an "about"
    screen within ClipGrab my (now) incapable python script reads:

    youtube-dlp: (C:\Program Files (x86)\ClipGrab\python\python.exe: can't find '_main_' module in " ) Python: C:/Program Files (x86)/ClipGrab/python/python.exe (Python 3.8.9)

    Since this problem began I downloaded ClipGrab on to another desktop computer and it runs perfectly without a problem. The script on the "about" page does not indicate anything about "can't find -main- module" etc. Is there any advice you can offer to
    overcome this and recover my downloading connections to YouTube? Or, if this is the wrong group to handle such issues, could you please pass my message on to a better choice?

    Gratefully,
    Jim Haas

    Sent from my iPhone

    Python itself doesn't have any code to do this, but does have some
    support libraries that help.

    It looks like your "ClipGrab" program is using the python module
    "youtube-dlp" to get the data (that module probabaly has the details of
    how to do the operation), but somehow ClipGrab hasn't packaged the
    module into itself properly.

    You probably should seek help with the support for the ClipGrab program
    from the people that make it.

    If you look up the documentation for youtube-dlp, you may find that you
    can use that module directly, and not need the ClipGrab wrapper at all
    (though it may provide some benefits if you can get it working again).


    --
    Richard Damon

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)