Closed k06a closed 6 years ago
Hi, I am still having that issue even after adding line of code
@dnfodjo are you sure you have exactly this issue? Video should be watched on YouTube site only?
@dnfodjo I had tested it on this video: https://www.youtube.com/watch?v=GVV06jTYjeY
@k06a It doesn't work with this video https://www.youtube.com/watch?v=JGwWNGJdvx8
@k06a Nevermind. I was testing on an old version of XCDYouTubeKit (2.5.4) the newest version is 2.5.5
Why not to merge this one-line fix?
Its not working with this url
@k06a Closing due to being an old PR. If you still wish to work on this please reopen a new PR and I'll review it.
@SoneeJohn why not to merge it? Just add Referer
header to request:
[request setValue:[NSString stringWithFormat:@"https://youtube.com/watch?v=%@", self.videoIdentifier] forHTTPHeaderField:@"Referer"];
@k06a sorry I just needed to review it and rerun the unit test since the PR was old. Thanks for your contribution :-)
Should solve this issue: https://github.com/0xced/XCDYouTubeKit/issues/309