cvzi / Spotify-Genius-Lyrics-userscript

Userscript, shows lyrics from genius.com on Spotify web
https://greasyfork.org/en/scripts/377439-spotify-genius-lyrics
GNU General Public License v3.0
45 stars 4 forks source link

Syntax error #22

Open skrinskas opened 1 year ago

skrinskas commented 1 year ago

Hi, I really love the idea of this script, but I haven't been able to get it to work. This error pops-up:

Spotify Genius Lyrics

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data in geniusSearch("George Clanton Tie Me Down", geniusSearchCb):

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Genius</title>
    <style>*{box-sizing:border-box}body{width:100%;margin:0;color:#fff;background:#000;font-family:Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;font-size:20px;font-weight:700}a,a:active,a:focus{color:#3d85c6;text-decoration:none}a:hover{border-bottom:1px dotted}header{background-color:#ffff64;padding:10px;color:#000}header img{height:20px;display:block;margin:0 auto}main{max-width:860px;margin:0 auto}.text{text-align:center}.alert{margin:40px 20px}h1{font-size:7.5rem;text-transform:uppercase;font-weight:700;margin:0}@media screen and (max-width:420px){h1{font-size:3.5rem}}.distractions{margin:3rem auto 0;width:100%;max-width:700px}.iframe-container{width:100%;height:0;padding-top:56.25%;position:relative}.iframe-container iframe{max-width:100%;max-height:100%;position:absolute;top:0;left:0}</style>
    <style type="text/css">.cloudflare_content{margin-top:2rem}#recaptcha_widget{display:flex;justify-content:center}</style>

This is not the full error but I am unsure if it contains any tokens or other important information. Let me know if you'd like the full error!

Using:

Things I have tried

cvzi commented 1 year ago

If you are able to post the whole error message (or email me cuzi@openmail.cc), that would probably be useful.

I see cloudflare_content and #recaptcha_widget in the error, my suspicion is that the script is blocked by cloudflare and a captcha is requested.

Does it always happen or does the script work sometimes?

This is likely the same issue as https://github.com/cvzi/Youtube-Genius-Lyrics-userscript/issues/56

As described in that issue, can you try to open this url: https://genius.com/api/search/song?page=1&q=Mother%20Mother%20It%27s%20Alright to see if you get a similar result as was posted in that issue?

There is an untested fix by @cyfung1031 : To try it out, edit the script source code in Violentmonkey and replace

// @require         https://greasyfork.org/scripts/406698-geniuslyrics/code/GeniusLyrics.js

with

// @require         https://raw.githubusercontent.com/cvzi/genius-lyrics-userscript/patch-xmlrequest-try-fix/GeniusLyrics.js

Then test if it helps.

cyfung1031 commented 1 year ago

@skrinskas Might I know that changing the script line to // @require https://raw.githubusercontent.com/cvzi/genius-lyrics-userscript/patch-xmlrequest-try-fix/GeniusLyrics.js is working for you or not?

skrinskas commented 1 year ago

@skrinskas Might I know that changing the script line to // @require https://raw.githubusercontent.com/cvzi/genius-lyrics-userscript/patch-xmlrequest-try-fix/GeniusLyrics.js is working for you or not?

Hi, I've just tried this and the error keeps popping up unfortunately

skrinskas commented 1 year ago

If you are able to post the whole error message (or email me cuzi@openmail.cc), that would probably be useful.

I see cloudflare_content and #recaptcha_widget in the error, my suspicion is that the script is blocked by cloudflare and a captcha is requested.

Does it always happen or does the script work sometimes?

This is likely the same issue as cvzi/Youtube-Genius-Lyrics-userscript#56

As described in that issue, can you try to open this url: https://genius.com/api/search/song?page=1&q=Mother%20Mother%20It%27s%20Alright to see if you get a similar result as was posted in that issue?

There is an untested fix by @cyfung1031 : To try it out, edit the script source code in Violentmonkey and replace

// @require         https://greasyfork.org/scripts/406698-geniuslyrics/code/GeniusLyrics.js

with

// @require         https://raw.githubusercontent.com/cvzi/genius-lyrics-userscript/patch-xmlrequest-try-fix/GeniusLyrics.js

Then test if it helps.

Thanks for the speedy comment. So I've opened https://genius.com/api/search/song?page=1&q=Mother%20Mother%20It%27s%20Alright and I see no issue regarding that error that pops up. However there was a captcha for Cloudflare, which I could manually confirm that I am indeed not a robot. So perhaps this is an issue where Genius goes to check if I am a robot, and then blocks me because it doesn't like the response. I think this would be related to uBlock origin as I have read something about uBlock and cloudflare before - if this is the case I'll see if I can whitelist it and report back.

However here is the full error

Spotify Genius Lyrics

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data in geniusSearch("Tame Impala I Don't Really Mind", geniusSearchCb):

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Genius</title>
    <style>*{box-sizing:border-box}body{width:100%;margin:0;color:#fff;background:#000;font-family:Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;font-size:20px;font-weight:700}a,a:active,a:focus{color:#3d85c6;text-decoration:none}a:hover{border-bottom:1px dotted}header{background-color:#ffff64;padding:10px;color:#000}header img{height:20px;display:block;margin:0 auto}main{max-width:860px;margin:0 auto}.text{text-align:center}.alert{margin:40px 20px}h1{font-size:7.5rem;text-transform:uppercase;font-weight:700;margin:0}@media screen and (max-width:420px){h1{font-size:3.5rem}}.distractions{margin:3rem auto 0;width:100%;max-width:700px}.iframe-container{width:100%;height:0;padding-top:56.25%;position:relative}.iframe-container iframe{max-width:100%;max-height:100%;position:absolute;top:0;left:0}</style>
    <style type="text/css">.cloudflare_content{margin-top:2rem}#recaptcha_widget{display:flex;justify-content:center}</style>
    <script type="text/javascript">!function(e,a){var t,n,i,l;a.__SV||((window.mixpanel=a)._i=[],a.init=function(e,t,n){function o(e,t){var n=t.split(".");2==n.length&&(e=e[n[0]],t=n[1]),e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}}var p=a;for(void 0!==n?p=a[n]=[]:n="mixpanel",p.people=p.people||[],p.toString=function(e){var t="mixpanel";return"mixpanel"!==n&&(t+="."+n),e||(t+=" (stub)"),t},p.people.toString=function(){return p.toString(1)+".people (stub)"},i="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "),l=0;l<i.length;l++)o(p,i[l]);var r="set set_once union unset remove delete".split(" ");p.get_group=function(){function e(e){t[e]=function(){call2_args=arguments,call2=[e].concat(Array.prototype.slice.call(call2_args,0)),p.push([n,call2])}}for(var t={},n=["get_group"].concat(Array.prototype.slice.call(arguments,0)),o=0;o<r.length;o++)e(r[o]);return t},a._i.push([e,t,n])},a.__SV=1.2,(t=e.createElement("script")).type="text/javascript",t.async=!0,t.src="undefined"!=typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js",(n=e.getElementsByTagName("script")[0]).parentNode.insertBefore(t,n))}(document,window.mixpanel||[]),mixpanel.init("77967c52dc38186cc1aadebdd19e2a82");</script>
    <script type="text/javascript">/* eslint-env browser */
/* globals mixpanel */
/* eslint-disable no-unused-vars */
const METRICS_URL = 'https://librato-collector.genius.com/v1/metrics';

function sendToLibrato(body) {
  if (navigator.sendBeacon) {
    navigator.sendBeacon(
      METRICS_URL,
      new Blob([JSON.stringify(body)], {type: 'application/json'})
    );
  } else {
    fetch(
      METRICS_URL,
      {
        method: 'POST',
        body: JSON.stringify(body),
        headers: {'Content-Type': 'application/json'},
      }
    );
  }
}

function count(name, {source}, extra = {}) {
  sendToLibrato({counters: [{name, value: 1, source}]});
  mixpanel.track(name, Object.assign({source}, extra));
}
</script>

</head>
  <body>
    <header>
      <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTUiPjxwYXRoIGQ9Ik0xMS43IDIuOXMwLS4xIDAgMGMtLjgtLjgtMS43LTEuMi0yLjgtMS4yLTEuMSAwLTIuMS40LTIuOCAxLjEtLjIuMi0uMy40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uNi44IDEuNiAxLjIgMCAuMS4xLjEuMS4xIDEuMS0uMSAxLjgtLjcgMS44LTEuNXMtLjYtMS4yLTEuOS0xLjVsLTEuNC0uM2MtMy4yLS42LTMuOC0yLjMtMy44LTMuNiAwLS43LjItMS4zLjYtMS45di0uMmMwLS4xLS4xLS4xLS4xLS4xLTEuNS43LTIuMyAxLjktMi4zIDMuNC0uMSAyLjMgMS4zIDMuNyA0IDQuMXptNS4yIDMuMmMtLjEuMS0uMS4xIDAgMC0uOS40LTEuOC42LTIuOC42LTEuNiAwLTMtLjUtNC4zLTEuNC0uMy0uMy0uNS0uNi0uNS0xIDAtLjEgMC0uMS0uMS0uMXMtLjMtLjEtLjQtLjFjLS40IDAtLjguMi0xLjEuNi0uMi4zLS40LjctLjMgMS4xLjEuNC4zLjcuNiAxIDEuNCAxIDIuOCAxLjUgNC41IDEuNSAyIDAgMy43LS43IDQuNS0xLjl2LS4xYzAtLjEgMC0uMi0uMS0uMnoiLz48cGF0aCBkPSJNOTQuMSAzLjJjMCAuMS4xLjEuMS4xaC4yYzEuMSAwIDEuNy4zIDIuNC44LjMuMi42LjMgMSAuM3MuOC0uMiAxLjEtLjZjLjItLjMuMy0uNi4zLS45IDAtLjEgMC0uMS0uMS0uMS0uMiAwLS4zLS4xLS41LS4yLS44LS42LTEuNC0uOS0yLjYtLjktMS4yIDAtMiAuNi0yIDEuNC4xIDAgLjEgMCAuMS4xeiIvPjwvc3ZnPgo=" alt="Genius logo"/>
    </header>
    <main>
      <div class="text alert">
        <h1>Scrrrr!!</h1>
        <div class="dek">Sorry, we have to make sure you're a human before we can show you this page.</div>
        <div class="cloudflare_content">
          <form id="challenge-form" class="challenge-form" action="/api/search/song?page=1&amp;q=Tame%20Impala%20I%20Don%27t%20Really%20Mind&amp;__cf_chl_f_tk=RufUMllXA7mFrEdCOVNVKDEo8RD9wT40aHiS_t5o2zc-1688057877-0-gaNycGzNEOU" method="POST" enctype="application/x-www-form-urlencoded">
    <div id="cf-please-wait">
        <div id="spinner">
            <div id="cf-bubbles">
                <div class="bubbles"></div>
                <div class="bubbles"></div>
                <div class="bubbles"></div>
            </div>
        </div>
        <p id="cf-spinner-please-wait">Please stand by, while we are checking your browser...</p>
        <p id="cf-spinner-redirecting" style="display:none">Redirecting...</p>
    </div>
    <input type="hidden" name="md" value="Gwcpc6X7QzV1G_hOtac0k3f_IEK0TKniiyRUfPENQJo-1688057877-0-AQWukunxierj-kAllUaVKWm4JOI_ntqDB0WChOP4Mom77h-YKPcNWiL4h5z4ckQmYYeiCtXE2Jft5OxHpTTrfl-hTzHrWQOxAbXyMIxOb6JicArQiePvKFjkPjhWoH3jLrb6KsKfaNuzcT-f_31-mIIfyxQ7nlLc3Kb35W7kzasgS7kZ9LB4RkglRzIrWJj2rppZmJOsLHYLNRtu01WkomozIni8K_Nu1w2397pkSRWqgn8itZkNozPPv-P7GVBC_3UX7xj2NAbz_DgpUJoYgSSHHguzfLQMk2AAoKsEPs9QID9mhQsazImitr3KmmRHgrPiksRVIFWWhb6MyHE1FI9KklYY2QeeuFjQ60bwpq40iGJaDPzlul_IpJoOMfWUie-IgiXClVk-4Bw8iPTyFZoHu6hmd2bqWqt9iRuiKniynuPRAaalpJMYn-7LSnzB3CgykCk5rvBaxoZi-7xvKJbrnlB6fcs6-7rTJrGFsAC8mgjM--SbsxeCZk_IFYPekapqQxdkFBuPump60xF-hOhpPfNb2GC527s0q8AhJIbmddVJKzXy_Q6JojTEv1X63JyohAxaxG5doy_PCsZf8AMX4XJQxk5CVK4MuVxtzFQjLh3mGJmn8hTJIYix9Ly3ciMMJY6NzuHzBzX6zmBmyYwb5ffMeLJjLm_DK-s2Djd7oAupL4p5D4mWYY50C2qwKdFmWF_NjhGWXp0LypXcLE-TNcIGBzo-UrNrSUfEs7gPcm16vxgzympMtp35awZFvVquTYga1A_0WAB4jRF1TeZLA1XghkyPnXozDLOCvCxz-QbRCKtioKq9halFbHGG9IBNqEe_d61WQcoP18_a5NuE34X3UrmxvxF3UhYZbvA5d1WQK7oKpH24khagAbWpldR2vfYwQgiGA8NFPq7llU7Af0uC2KL_S8gOdg7XzdoeFVXogg5BZPH05EMB3HxojPuLIXJNF0a8N1gMy8ri7-ztzZCg5f-oBQM684Slg4jS7UwEXk9J7Wh-H4VzWL1WfYLE4kkib1M4Gg49Xa43HQvGTt4oC7liuZguABeYzov3rVEh5qVPqfxmqI9tAyAwJNQctKwPnoklDxSTDDLiQYqOj2RwYHqOIXU7warFyyLkwdeMBCvPEExggWO_lRkFlWmxhJ9aopmGi3797YL4_9_FcZetKC_dO3SasPqkMix0ejC6NmBfQssoUxs6iLX7W4TljUWBsBMohmkqK29aLsJ3sL529R5Iu4r0BUvCcjVHZXc6KY9UmwSX33XAj5HcMbb-oPMRe5BUgFyrb2emo9Cf-Bx55zhJRtC36gakighe3TZ5Mj5ou4bQRhQhQ2j60-mCzwYG6bLNBF4gH68TWJVljf-2Zh_9f1abZ60AwUSnNbmulUuzcGonnWn4adzFBLIcaDcs4XNv-YZ7E4cYiRXeq90UQFnpfJUaDgbI6gdKrKJIyn0aKvbAdKeZcsZFJJTSyHyGq4tWESQICOe9FeHtzY5D_LKbeUEj03_M3embblV8GYJ6QPEAkD3LuQ3VrNgr0Gnkm-ae3YeniY-Aq8h10-RUXKXD3YJwBnVn-0jFjG95M7LghALqKMSNJrHYUSjbiQwN9K1s7j27tAbbaQjpl-QdZp0kIpDZCUOrhrsFa3xUbo1M6SukvLbqSjseBQslj-CSPOJ-z8vQTRc0Qjtj4oqAr8-88jRmrN5ADm0g0p3NaS4tj4FTVO6OmaOqmWzkl_-GPHvgUvAZf28S4HSRRVca5zRSLZXMKvQVjcz08CBOuHqLZprKnDJvEsEXZZ86lQiKc006_IMyO0AOTbuQDgH
skrinskas commented 1 year ago

Alright, so I disabled uBlock, same error. So I installed a new firefox with just violentmonkey, tried it again with the original code, and then that fix. Neither has worked unfortunately!

cvzi commented 1 year ago

Thanks! The error message is the captcha page. For some reason Cloudflare/genius.com blocks you. It is probably not worth trying to find out why it blocks you and not others. Even if we find the reason and solve it, the next user could be blocked for a different reason.

The question is whether is still blocks the script after you manually solved the captcha. If it doesn't, then the script could just show/open the captcha page once.

Could you try to open https://genius.com/api/search/song?page=1&q=Mother%20Mother%20It%27s%20Alright and solve the captcha (if it appears). And then open Spotify and play a song. Hopefully the script is then able to access genius.com as well.

cyfung1031 commented 1 year ago

@skrinskas Did you try another browser (chromium-based) like Brave, Ungoogled Chromium, Chrome, Opera? I know that Firefox has implemented some security changes and it might make userscripts not working.

cvzi commented 1 year ago

I am able to reproduce the error with a VPN (Tunnelbear from a Brazilian server)

Once the captcha on genius.com is solved, it sets a Cloudflare cookie. Afterwards the script seems to work normally.

I added a hint to the script:

screenshot1

skrinskas commented 1 year ago

@skrinskas Did you try another browser (chromium-based) like Brave, Ungoogled Chromium, Chrome, Opera? I know that Firefox has implemented some security changes and it might make userscripts not working.

Hi, so I have just tried out Google Chrome and Ungoogled Chromium and they both had an issue with playing spotify now, something called "Google WideVine". Anyways Brave worked! At least there's some way it can be done image

I should have mentioned aswell I'm using MullVad's VPN. Perhaps this could have contributed to that Cloudflare issue Still, I much prefer Firefox / Librewolf

skrinskas commented 1 year ago

Thanks! The error message is the captcha page. For some reason Cloudflare/genius.com blocks you. It is probably not worth trying to find out why it blocks you and not others. Even if we find the reason and solve it, the next user could be blocked for a different reason.

The question is whether is still blocks the script after you manually solved the captcha. If it doesn't, then the script could just show/open the captcha page once.

Could you try to open https://genius.com/api/search/song?page=1&q=Mother%20Mother%20It%27s%20Alright and solve the captcha (if it appears). And then open Spotify and play a song. Hopefully the script is then able to access genius.com as well.

Hi, I have also tried this but it did not work

cvzi commented 4 months ago

This currently requires Tampermonkey Beta in Chrome, in the regular Tampermonkey version it doesn't work at the moment

Malmasri15 commented 2 months ago

Screenshot 2024-09-23 112527 Screenshot 2024-09-25 103126 Screenshot 2024-09-25 103358

I'm still using Edge and the icon for Automatically show lyrics when a new song starts is completely gone I tried everything like clearing catch reinstalling and adding the new code just like above i disabled the extension updated it and did the captcha for Genius which broke everything I can't search lyrics or anything its completely broken I made an account on genius to stop me from verifying I'm a bot still didn't work I'm not sure what to do I've already updated Edge

I got this error instead the whole script and extension broke after the captcha from Genius is there a fix for this?

cvzi commented 2 months ago

According to this issue https://github.com/Tampermonkey/tampermonkey/issues/2181 it is a bug in Chrome/Edge and it will be fixed in the next version of Chrome/Edge, Version 130. According to the Chrome bugtracker, it should already be fixed in the nightly build releases of Chrome: https://www.google.com/chrome/canary/ I don't have the time right now to test this.

cvzi commented 2 months ago

@Malmasri15 Also in the screenshot you have two versions of the script installed. Please uninstall both and do a fresh install from greasyfork.org to make sure you have the latest version of the script and the depending libraries

Malmasri15 commented 2 months ago

I reinstalled the script to the latest version fresh new and deleted the other script that I had that was for No LZ string and it still doesn't work I noticed that my Edge is on version 129 just like the picture I'm going to wait for the new Edge update and report back but for now the script isn't opening or doing anything the button does show sometimes but when I press it doesn't do anything also I did the Genius verify ur, not a robot verification and it still doesn't work either way here are all the settings and screenshots of the things I'm not sure what is the problem tho It was working perfectly before Genius started asking me if I'm a robot and its verification

Screenshot 2024-09-28 152612 Screenshot 2024-09-28 152702 Screenshot 2024-09-28 151317 Screenshot 2024-09-28 151616 Screenshot 2024-09-28 152109 Screenshot 2024-09-28 152130

cvzi commented 2 months ago

Let's wait for version 130 and if it still doesn't work then I'll look into it (I just don't have much time at the moment).

I don't know what causes genius.com to ask the robot verification in the first place. I don't see the captcha on my normal internet connection. I can force it to appear if I use a specific VPN (Tunnelbear with Brazil). So it seems that genius.com has just blocked some IP addresses.

Malmasri15 commented 2 months ago

For the verification from genius.com to ask the robot verification Im in Canada, so I'm not sure if that can help in some way. Also it's okay take your time I'm still gonna wait for the new version of Edge