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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. Import YouTube

Import YouTube

Scheduled Pinned Locked Moved PeerTube
10 Posts 3 Posters 1.8k Views 4 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
    translator
    wrote on 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 on 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
        translator
        wrote on 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 on 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
            translator
            wrote on 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 on 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
                translator
                wrote on last edited by james
                #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 on 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
                    translator
                    wrote on 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
                    • David 0D Offline
                      David 0D Offline
                      David 0
                      wrote last edited by
                      #10

                      Has anything new been added to this issue? I came across this guide: https://github.com/Chocobozzz/PeerTube/issues/6522#issuecomment-3698599168

                      However, I was unable to implement it (I suppose I lack knowledge of CLI and skills).

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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