Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. Import YouTube

Import YouTube

Scheduled Pinned Locked Moved PeerTube
9 Posts 2 Posters 80 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • archosA Offline
    archosA Offline
    archos
    wrote last edited by
    #1

    Hi,
    I’m running PeerTube on Cloudron and I’m trying to get YouTube imports working, but they now require login (yt-dlp error: Sign in to confirm you’re not a bot).

    What I tried:

    Exported cookies.txt from my browser (Netscape format, starts with # Netscape HTTP Cookie File).

    Placed the file at /app/data/storage/cookies.txt.

    Edited /app/data/config/production.yaml and added:

    import:
      youtube_dl:
        args: "--cookies /app/data/storage/cookies.txt"
    
    

    Has anyone tried to set this up?
    Maybe I’m doing something wrong. Any advice would be appreciated.

    1 Reply Last reply
    0
    • robiR Offline
      robiR Offline
      robi
      wrote last edited by robi
      #2

      Check permissions/owner on that file or just restart the App.

      Conscious tech

      archosA 1 Reply Last reply
      1
      • robiR robi

        Check permissions/owner on that file or just restart the App.

        archosA Offline
        archosA Offline
        archos
        wrote last edited by
        #3

        @robi Thanks for the reply 👍
        All files are owned by the cloudron user. I also restarted the app, but the problem still persists.

        robiR 1 Reply Last reply
        0
        • archosA archos

          @robi Thanks for the reply 👍
          All files are owned by the cloudron user. I also restarted the app, but the problem still persists.

          robiR Offline
          robiR Offline
          robi
          wrote last edited by
          #4

          @archos check logs?

          Conscious tech

          archosA 1 Reply Last reply
          0
          • robiR robi

            @archos check logs?

            archosA Offline
            archosA Offline
            archos
            wrote last edited by
            #5

            @robi In the logs I always see this:

            ERROR: [youtube] ***: Sign in to confirm you’re not a bot.  
            Use --cookies-from-browser or --cookies for the authentication.  
            See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp
            
            robiR 1 Reply Last reply
            0
            • archosA archos

              @robi In the logs I always see this:

              ERROR: [youtube] ***: Sign in to confirm you’re not a bot.  
              Use --cookies-from-browser or --cookies for the authentication.  
              See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp
              
              robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #6

              @archos said in Import YouTube:

              --cookies-from-browser

              did you try this?

              Conscious tech

              archosA 1 Reply Last reply
              0
              • robiR robi

                @archos said in Import YouTube:

                --cookies-from-browser

                did you try this?

                archosA Offline
                archosA Offline
                archos
                wrote last edited by
                #7

                @robi said in Import YouTube:

                --cookies-from-browser
                

                did you try this?
                Yes, I also tried --cookies-from-browser, but I uploaded a cookies.txt file into PeerTube.
                I added the path to the file in the import section of production.yaml and restarted the instance.
                Maybe I’m doing something wrong, but I have no idea how else to do it.

                1 Reply Last reply
                0
                • robiR Offline
                  robiR Offline
                  robi
                  wrote last edited by
                  #8

                  You seem to be doing it right.

                  I'd suggest running the command from the terminal manually to test if the issue is with yt-dlp or with how Peertube uses it.

                  Also visit Peertube's Github issues and see what other users are experiencing.

                  Conscious tech

                  archosA 1 Reply Last reply
                  1
                  • robiR robi

                    You seem to be doing it right.

                    I'd suggest running the command from the terminal manually to test if the issue is with yt-dlp or with how Peertube uses it.

                    Also visit Peertube's Github issues and see what other users are experiencing.

                    archosA Offline
                    archosA Offline
                    archos
                    wrote last edited by
                    #9

                    @robi Ok, I’ll give it a try. I’ll also search the PeerTube GitHub to see if someone has already reported this issue.
                    Thanks a lot for your time and the information.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search