Skip to content

[Bug] Login doesn't enable age-restricted videos or automatic translation #2611

Description

@mrbdalslam606-netizen

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

It seems the login function isn't working properly because automatic translation, despite being reinstated in the latest update, still doesn't work, and age-restricted videos aren't playing even when logged in. This is a bug in one of the age-restricted videos.

Exception

  • User Action: requested stream
  • Request: https://youtu.be/Jrt8nic1UAg?si=RnJlu9bhx-T5_jSu
  • Content Country: MA
  • Content Language: ar-MA
  • App Language: ar_MA
  • Service: YouTube (Logged in)
  • Version: 5.2.0
  • OS: Linux samsung/a31xx/a31:12/SP1A.210812.016/A315FXXU2DWB3:user/release-keys 12 - 31
Crash log

org.schabi.newpipe.extractor.exceptions.AgeRestrictedContentException: This age-restricted video cannot be watched anonymously
	at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper$1.onSuccess(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:222)
	at org.acra.sender.SendingConductor.onResponse(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:86)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(r8-map-id-c0516b28995b7ee05916d6916abd6008f164779f86cdacbb6d441fe25326605f:45)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:1572)


Version

5.2.0

Frequency

Always (100% of the time)

Device

Samsung A31 Android 12

Steps to reproduce the bug

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions