VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 6 of 6
FirstFirst ... 4 5 6
Results 151 to 157 of 157
Thread
  1. Originally Posted by EatB4Bath View Post
    But in my case (in the real world), it returns only [<Response [403]>]
    Code:
    print(response.text)
    Quote Quote  
  2. I have this error I'm trying to iron out from the script

    v 4.4
    #
    # A_n_g_e_l_a 26:07:2023
    #
    '''
    This program is a generic boltdns.net downloader.


    'rm' is not recognized as an internal or external command,
    operable program or batch file.
    Invalid parameter(s)
    RESET { SESSION }

    Im also looking at changing the download directory from output to downloads in one directory higher than the WKS-Keys dir ive tried \downloads puts it in the rout of my hard disk im on Windows if that makes much difference

    Thanks for looking and a great tutorial
    Quote Quote  
  3. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by PSXman_uk View Post
    '''
    This program is a generic boltdns.net downloader.


    'rm' is not recognized as an internal or external command,
    operable program or batch file.
    Invalid parameter(s)
    I wrote those scripts in the hope that people might use them as a starting point on a journey to learn to code. It now seems I was very naive. No matter.

    The line in question has a linux command which fails on Windows. I didn't realise that when the script was written and these days would write the code such that it works on both window and linux.

    To answer your question 'rm' stands for remove and calling it in linux deletes files. The Windows command if I recall is 'del' so hopefully a substitution of del for rm will correct your issue. Secondly reset doesn't exist in Windows, it appears, so just delete that line - it only blanks and refreshes the terminal window. These are the last three lines of code:-
    Code:
        os.system("rm -f ./output/*.m4a  ./output/*.srt ./output/*.mp4 ./output/*.ts") 
    os.system("reset") # N_m3u8DL-RE sometimes leaves terminal unable to print text
    exit(0)
    I've updated the file for you https://files.videohelp.com/u/301890/boltgeneric.py
    Last edited by A_n_g_e_l_a; 22nd Feb 2024 at 05:54.
    Do not PM me please. Just ask your question here!
    https://forum.videohelp.com/threads/413534-From-My-Postbox
    Quote Quote  
  4. Thank you i am trying to learn but am finding it a bit hard seeing as the last time i coded was on an Amiga and at my age you lose a few grey cells thank you very much for looking at it for me I appreciate it.
    Quote Quote  
  5. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by PSXman_uk View Post
    Thank you i am trying to learn but am finding it a bit hard seeing as the last time i coded was on an Amiga and at my age you lose a few grey cells thank you very much for looking at it for me I appreciate it.
    You give up too easily! I'm late 70's and first coded in BASIC on a BBC Micro. I started python two years ago. The brain is like a gymnasium; the more you exercise in it the better it is for you.
    Do not PM me please. Just ask your question here!
    https://forum.videohelp.com/threads/413534-From-My-Postbox
    Quote Quote  
  6. @A_n_g_e_l_a food for thought I'll take that on board and carry on thanks again
    Quote Quote  
  7. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by PSXman_uk View Post
    Thank you i am trying to learn but am finding it a bit hard seeing as the last time i coded was on an Amiga and at my age you lose a few grey cells thank you very much for looking at it for me I appreciate it.
    You could always run the script from inside WSL
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!