• Python misbehavior

    From Jim@3:633/280.2 to All on Wed Feb 7 14:46:05 2024
    Friends,
    Please forgive me if this is not the proper forum for dealing with an issue o= f mine, but I am at a loss in finding a fix for a python problem in the prog= ram ClipGrab. The program allows one to download videos or audios from YouTu= be and other media sites. My limited understanding of the process suggests t= hat python facilitates the transfer of data from YouTube to ClipGrab. As of r= ecently, I am unable to use the ClipGrab program and the issue at fault has s= omething to do with python. In an "about" screen within ClipGrab my (now) in= capable 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 compute=
    r and it runs perfectly without a problem. The script on the "about" page do= es not indicate anything about "can't find -main- module" etc. Is there any a= dvice you can offer to overcome this and recover my downloading connections t= o YouTube? Or, if this is the wrong group to handle such issues, could you p= lease pass my message on to a better choice?

    Gratefully,
    Jim Haas

    Sent from my iPhone=

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Richard Damon@3:633/280.2 to All on Thu Feb 8 23: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 is=
    sue of mine, but I am at a loss in finding a fix for a python problem in t=
    he program ClipGrab. The program allows one to download videos or audios f=
    rom YouTube and other media sites. My limited understanding of the process=
    suggests that python facilitates the transfer of data from YouTube to Cli= pGrab. As of recently, I am unable to use the ClipGrab program and the iss=
    ue at fault has something to do with python. In an "about" screen within C= lipGrab my (now) incapable python script reads:

    youtube-dlp: (C:\Program Files (x86)\ClipGrab\python\python.exe: can't f=
    ind '_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 com=
    puter and it runs perfectly without a problem. The script on the "about" p=
    age does not indicate anything about "can't find -main- module" etc. Is th=
    ere any advice you can offer to overcome this and recover my downloading c= onnections to YouTube? Or, if this is the wrong group to handle such issue=
    s, 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).


    =2D-
    Richard Damon


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)