Announcement

Collapse
No announcement yet.

Login Problem YouTube

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Chris5626 View Post

    That has allowed me to sign in on YouTube, that method didn't work for the previous version HOWEVER it appears there is still an issue with SF. If you try to access any paid for movies or shows it states "Your browser can't play this video."

    If you copy the URL (rather than analysing from the page) the download will fail stating "This video is DRM protected."
    That will show as being signed in for me as well if I do it that way, however, you should try to actually download a YouTube video. For me, it only allows audio download. I believe that the cookies have to be imported from Chrome or Edge, and for me it's just not working no matter what I try.

    This has always been a pain but I could always eventually get it to work, but with 6.2.0.2 it's a brick wall. Nothing I do works.

    Comment


      #17
      I tried using this technique:

      I can't log into youtube on StreamFab 6.1.9.9 Windows. Specifically, when I try to log in, I get an error about cookies on youtube tab in Streamfab. I've tried all the solutions that have already been introduced such as; https://forum.dvdfab.cn/forum/software-support-english/streamfab/450234-issuing-logging-into-youtube


      It doesn't work in 6.2.0.2.

      StreamFab temp folder is cleared first. Instructions above followed exactly.

      Click sign in, in StreamFab on YouTube, it redirects back to the sign in page and I'm not signed in. StreamFab.log shows:

      Code:
      2024:10:25-19:15:01 0x000018e0 [Info]: sysb Edge cookie
      2024:10:25-19:15:01 0x000018e0 [Info]: sync cookie success!​
      But I'm not signed in. It just redirects back to "Try searching to get started" on YouTube and I'm not logged in.

      qef.log shows multiple:

      Code:
      SetCookie failed with reason: EXCLUDE_UNKNOWN_ERROR, DO_NOT_WARN, NO_EXEMPTION
      I'm not sure if I should be posting logs for this publicly but here they are:

      Logs.zip

      This is extremely frustrating.

      Comment


        #18
        I tried **completely** uninstalling StreamFab and then reinstalling 6.2.0.2 from the full offline installer.

        It had no effect on the problem.

        I notice that the installer for 6.2.0.1 is 508,841,760 bytes, and for 6.2.0.2 it's 718,121,984 bytes, so it seems that there are some significant changes in 6.2.0.2.

        I've spent **way** to much time on this now, the next step is to uninstall 6.2.0.2 and install 6.2.0.1 and confirm that YouTube login still works in 6.2.0.1.

        Comment


          #19
          Originally posted by Chris5626 View Post
          When trying to sign in to YouTube (UK) via StreamFab the Google account sign in screen appears but only for a few seconds (not fast enough to type your email but you can copy and paste it) when you proceed (before even putting a password in) it says the browser or app may not be secure.

          ...

          With the latest version of StreamFab after inputting your Google account it does actually go to the password entry screen but there isn't enough time to input it before it goes back to YouTube (with you not being signed in).

          I've tested about a dozen times, you have about 4 seconds to input your password and your email/username in total however that includes the time for the Google sign in page to load and transition from your email/username to your password, even copying and pasting my email that isn't enough time for me to input it.

          Feels like a tiny step forward though.
          No, it's supposed to do that! You're not actually supposed to enter anything on the YouTube sign in screen in StreamFab. If you hurry and copy and paste your e-mail and password, you will get the "may not be secure" message; that is expected behavior. When you click the sign-in button on YouTube in StreamFab, that is where it is supposed to import the cookies from either Chrome or Edge, then it refreshes and you *should* be signed in at that point.​ Except, in 6.2.0.2 it's no longer working for me, so when it refreshes it's still at the same "Try searching to get started" page and it is **not** logged in.

          It looks like a bug in 6.2.0.2.

          Boy am I sorry I updated.

          Comment


            #20
            Originally posted by AllNight View Post
            No, it's supposed to do that! You're not actually supposed to enter anything on the YouTube sign in screen in StreamFab. If you hurry and copy and paste your e-mail and password, you will get the "may not be secure" message; that is expected behavior.
            I've no login issue direct in 6202 ..
            Click image for larger version

Name:	sf_6202_yt_in.jpg
Views:	222
Size:	74.5 KB
ID:	452140

            Click image for larger version

Name:	sf_6202_yt_in_ok.jpg
Views:	216
Size:	80.5 KB
ID:	452141

            Click image for larger version

Name:	sf_6202_yt_in_ok+.jpg
Views:	219
Size:	94.0 KB
ID:	452142

            .. but if DRM protected Analyzing never ends:
            Code:
            [Info]: DASHContentCB mpdcontent invalid.
            [Info]: UpdateDownloadStatus : Status_request_metadata_failed --> Status_none

            Comment


              #21
              It looks like you're logging in to Google from inside StreamFab? That won't work if that's what you're doing. You open the YouTube downloader in StreamFab, click the "Sign In" button, then wait as StreamFab imports cookies from either Chrome or Edge. The screen refreshes and you should be logged in. If it doesn't work, it usually can be fixed by closing StreamFab, then opening Edge and/or Chrome, completely clearing the browser cookies as well as history, cache, etc., then going back to YouTube in Edge and/or Chrome and logging in. That will completely reset the cookies with fresh data. You then start StreamFab, click the YouTube downloader, click Sign In, then it should import those cookies, refresh, and you should now be signed in. Except, that's not working in 6.2.0.2.

              I completely uninstalled version 6.2.0.2 and re-installed 6.2.0.1. I confirm that YouTube login via cookie import from Microsoft Edge is working correctly in 6.2.0.1.

              Something changed in version 6.2.0.2 that breaks Google/YouTube cookie import from Edge/Chrome. (At least for me.)

              Logs from 6.2.0.1 attached. Support ticket created.

              Logs_6.2.0.1_(Youtube_Working).zip
              Attached Files

              Comment


                #22
                Originally posted by AllNight View Post
                It looks like you're logging in to Google from inside StreamFab?
                That won't work if that's what you're doing
                And why am I signed in if I have never used the account outside of SF?
                I created the account with App for Android and never used in any win browser.

                It was the same with 6201 - see post #2

                Comment


                  #23
                  Originally posted by Germania View Post
                  And why am I signed in if I have never used the account outside of SF?
                  I created the account with App for Android and never used in any win browser.
                  My log confirmed me:
                  Code:
                  [Info]: OnAddressChange url : https://www.youtube.com/
                  [Info]: OnAddressChange - strUrl : "https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fwww.youtube.com ..
                  [Info]: load Chrome cookie
                  [Info]: Chrome cookie empty ,load Edge cookie !
                  [Info]: Chrome&Edge Cookie empty !
                  [Info]: OnAddressChange url : https://accounts.google.com/v3/signin/challenge/pwd? ..
                  [Info]: OnAddressChange url : https://www.youtube.com/

                  Comment


                    #24
                    That's not the way it's supposed to work, StreamFab should be importing cookies from Chrome or Edge. Your log shows it's not importing cookies. If you're logging in directly inside StreamFab like you're showing then downloads won't work properly. That is expected behavior. Can you download anything? For example inside of StreamFab I can go to Google and "successfully" log in. But if I try to download anything in YouTube inside StreamFab 6.2.0.2, it only gives audio on a URL analyze; no video.

                    I confirm importing cookies for YouTube works in 6.2.0.1, it does not work in 6.2.0.2. I've posted logs from both versions showing this. DRM download works in YouTube inside of StreamFab 6.2.0.1.

                    Comment


                      #25
                      > If you hurry and copy and paste your e-mail and password, you will get the "may not be secure" message;
                      > If you're logging in directly inside StreamFab like you're showing then downloads won't work properly

                      Oh, you said before that it doesn't work at all ..

                      > Can you download anything?

                      Videos wihout DRM works fine (need sometimes for age verification)​

                      Click image for larger version

Name:	sf6202_yt_nodrm.jpg
Views:	228
Size:	65.5 KB
ID:	452173

                      Click image for larger version

Name:	sf6202_yt_nodrm_dl.jpg
Views:	211
Size:	48.0 KB
ID:	452174

                      -=click pic to enlarge =-

                      Comment


                        #26
                        You seem to be trying to argue or something. About what I'm not really sure. It's not particularly useful or helpful.

                        For non-DRM, I prefer to use yt-dlp.

                        I use StreamFab for DRM downloads on YouTube. In order to do that, you need to import cookies from Chrome or Edge, as I described multiple times now. That is working properly in 6.2.0.1. It is not working in 6.2.0.2. As I described, and provided log files for. That is what I said does not work at all. What you have posted so far in this thread shows that you are not importing any cookies; you are logging in to Google inside of StreamFab. That's not the intended way YouTube is supposed to work with StreamFab.

                        On my system, in 6.2.0.2., if I log in via Google inside of StreamFab like you did, I don't get your results. Analyzing videos only results in audio streams for downloading... no video. That could be due to my Google or YouTube account or something (I have YouTube Premium). I did install StreamFab 6.2.0.2 on a cleaned system, again as I described. But, that doesn't really matter to me however since I use yt-dlp for non-DRM.

                        Something changed with how StreamFab is importing cookies from Chrome or Edge between 6.2.0.1 and 6.2.0.2. Why not try to import cookies from Chrome or Edge on your system to see if that works for you?

                        Comment


                          #27
                          I completely uninstalled 6.2.0.1 and installed 6.2.0.2 again.

                          I tried saving the StreamFab Temp folder after it had imported cookies in 6.2.0.1. After installing 6.2.0.2, I tried clearing the Temp folder and copying the saved Temp folder from 6.2.0.1 into the Temp folder for 6.2.0.2. This didn't work. YouTube was logged out and cookie importing from Chrome or Edge doesn't work.

                          However, this time, if I log in to Google inside of StreamFab, then go to YouTube, now I am getting the same thing as you... I can download non-DRM content including video, audio, and subtitles. Not sure why it was only offering Audio before.

                          One thing though:

                          Click image for larger version  Name:	st_yt_audio.png Views:	6 Size:	76.3 KB ID:	452225

                          I selected "Audio" for "Download As" and it shows 192 and 320 kbps streams. For non-DRM downloads, I don't believe these exist. Max quality YouTube audio streams are 128 kbps for M4A and vary for Opus, usually around 150 kbps. There is *no* 192 or 320 kbps. You can verify that with yt-dlp. So what is the 192 and 320 kbps that StreamFab shows for every video? StreamFab must be re-encoding it. Which doesn't improve the quality. Are they doing this just for marketing, so that they can say it saves YouTube audio in 320 kbps? I have no idea. StreamFab also offers "MP3" for audio codec which YouTube doesn't use, so StreamFab must be re-encoding it, again probably for marketing so they can say it saves YouTube audio as MP3. Again I have no idea. This is one big reason why I don't download non-DRM YouTube videos with StreamFab, and instead use yt-dlp.

                          Sorry for the sidetracking. The main issue is that Google/YouTube cookie import from Chrome or Edge is not working in 6.2.0.2, even though StreamFab.log shows "sync cookie success".
                          Last edited by AllNight; 10-26-2024, 07:36 PM.

                          Comment


                            #28
                            Originally posted by AllNight View Post
                            After installing 6.2.0.2, I tried clearing the Temp folder and copying the
                            saved Temp folder from 6.2.0.1 into the Temp folder for 6.2.0.2. This didn't work.​
                            I need new login in 6202 for all provider, because the change to CEF 128.


                            Originally posted by AllNight View Post
                            The main issue is that Google/YouTube cookie import from Chrome or Edge is not working in 6.2.0.2,
                            even though StreamFab.log shows "sync cookie success".​​
                            ​Looks like the import fails (have only names - not values)
                            because a new Cookie encryption - see also here - background

                            Comment


                              #29
                              Yeah, yt-dlp devs no longer recommend cookies for YouTube because apparently YouTube has been detecting people who use yt-dlp and restricting their accounts, so they currently recommend yt-dlp-youtube-oauth2 which acts like a device. Don't really understand all of it other than to no longer use cookies with yt-dlp and use the oauth2 method instead, not sure if that should be carried over to StreamFab or not.

                              Comment


                                #30
                                > not sure if that should be carried over to StreamFab or not

                                I don't know if SF use yt-dlp for cookie import ..
                                .. but that doesn't matter: The cause is crucial (see background)

                                Chromium based Browser > v127 protect the cookies stronger
                                and that's why only the names from cookie where imported - not the values​

                                All false is wrong:
                                Code:
                                [Info]: sysb Chrome cookie
                                [Info]: sync cookie success!
                                [Info]: ".youtube.com VISITOR_INFO1_LIVE" : false
                                [Info]: ".youtube.com VISITOR_PRIVACY_METADATA" : false
                                [Info]: ".youtube.com CONSENT" : false
                                [Info]: ".youtube.com SOCS" : false
                                [Info]: ".youtube.com APISID" : false
                                [Info]: ".youtube.com HSID" : false
                                [Info]: ".youtube.com LOGIN_INFO" : false
                                [Info]: ".youtube.com PREF" : false
                                [Info]: ".youtube.com SAPISID" : false
                                [Info]: ".youtube.com SID" : false
                                [Info]: ".youtube.com SSID" : false
                                [Info]: ".youtube.com __Secure-1PAPISID" : false
                                [Info]: ".youtube.com __Secure-1PSID" : false
                                [Info]: ".youtube.com __Secure-1PSIDTS" : false
                                [Info]: ".youtube.com __Secure-3PAPISID" : false
                                [Info]: ".youtube.com __Secure-3PSID" : false
                                [Info]: ".youtube.com __Secure-3PSIDTS" : false
                                [Info]: ".youtube.com YSC" : false
                                [Info]: ".youtube.com SIDCC" : false
                                [Info]: ".youtube.com __Secure-1PSIDCC" : false
                                [Info]: ".youtube.com __Secure-3PSIDCC" : false
                                [Info]: ".youtube.com __Secure-YEC" : false
                                [Info]: ".youtube.com VISITOR_PRIVACY_METADATA" : false
                                [Info]: "accounts.google.com ACCOUNT_CHOOSER" : false
                                [Info]: "accounts.google.com LSID" : false
                                [Info]: "accounts.google.com OTZ" : false
                                [Info]: "accounts.google.com __Host-1PLSID" : false
                                [Info]: "accounts.google.com __Host-3PLSID" : false
                                [Info]: "accounts.google.com __Host-GAPS" : false​
                                Last edited by Germania; 10-26-2024, 11:33 PM.

                                Comment

                                Working...
                                X