You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tumblr did a slight change to their webpage which my regular expression didn't account for. Luckily, the fallback I put into the code allowed it to still grab the first image of the page, but it stopped recognizing additional images and videos.
The change was simply adding a new line and some spacing in the <script> element it looks for. I've adjusted the regular expression accordingly:
varobj=responseText.match(/(?:<!-- GOOGLE CAROUSEL -->)?<script[^>]+type="application\/ld\+json"[^>]*>(?:[\r\n\t\s ]+)?(.+?)(?:[\r\n\t\s ]+)?<\/script>/i),
The text was updated successfully, but these errors were encountered:
Tumblr did a slight change to their webpage which my regular expression didn't account for. Luckily, the fallback I put into the code allowed it to still grab the first image of the page, but it stopped recognizing additional images and videos.
The change was simply adding a new line and some spacing in the <script> element it looks for. I've adjusted the regular expression accordingly:
The text was updated successfully, but these errors were encountered: