Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The journey continues #48

Open
Olshansk opened this issue Jul 18, 2023 · 56 comments
Open

The journey continues #48

Olshansk opened this issue Jul 18, 2023 · 56 comments

Comments

@Olshansk
Copy link

Starting this thread as a place for discussion on how we can continue the journey.

I don't have a solution (yet) but I am just posting my findings.


I just saw the recent announcement:

On July 13th, 2023, Medium has updated its platform with a new version. It restricts casual users from viewing full article content. I have attempted to bypass these restrictions but was unsuccessful. Perhaps the story will end here. I will check back again in the near future. Thank you for using this extension!

After running into it myself at this link:

Screenshot 2023-07-18 at 3 40 07 PM

I tried using 12ft.io as a proxy (accessible here), but am seeing that whatever gets indexed by Google (how 12ft.io works) is no longer the full article:

Screenshot 2023-07-18 at 3 43 04 PM
@und3fined
Copy link
Owner

@Olshansk thanks for sharing information. But please try with getpocket.com
It's help me read full content in Medium

@BudgieBird
Copy link

@Olshansk thanks for sharing information. But please try with getpocket.com It's help me read full content in Medium

Upnext also works as well. Next is to try an alternative that's self-hosted/free.

@Olshansk
Copy link
Author

@und3fined I've been a paying subscriber of getpocket.com for years now and contemplated cancelling my subscription recently. Seems like I now have a reason to keep it :)

Thanks @BudgieBird, looks super slick and will give it a shot as well!

@BudgieBird
Copy link

@Olshansk @und3fined It looks like Upnext and Pocket have been patched, at least on FF as of last evening.

@Earlopain
Copy link

Earlopain commented Jul 28, 2023

The google search indexer gets access to the full article contents. Unfortunatly you can't just set the User-Agent to the google bot since they have well-known IPs and Medium blocks impersonators.

I believe there is however one possible solution. Since google provides cached versions of websites it's possible to get the full article that way:
http://webcache.googleusercontent.com/search?q=cache:Q827lx-O0JYJ:https://towardsdatascience.com/overview-of-text-similarity-metrics-3397c4601f50
The website goes white directly after loading but the html is there. I don't know what this cache key is or whatever but you can just remove it and get a link like this: http://webcache.googleusercontent.com/search?q=cache:https://towardsdatascience.com/overview-of-text-similarity-metrics-3397c4601f50

But apparently this is how 12ft.io already works? So I'm not enirely sure, maybe something changed.

@Sparticuz
Copy link

I've found google's cache only works if you select Text-Only

@eventanilha
Copy link

Take a look here: https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/issues/1061
It's working.

@leviethung2103
Copy link

It's not working with bypass-paywalls. I think the medium has already fixed the problem.

@BudgieBird
Copy link

@leviethung2103 Are you using the -clean version linked about? Just tried FF and Chrome again, which both work.

@leviethung2103
Copy link

@BudgieBird I am not using exactly the version. Because the release of source code only has v3.2.5.0 and v3.2.6.0. I've tried both versions and they did not work

@UsamaKarim
Copy link

UsamaKarim commented Jul 31, 2023

@leviethung2103 You can clone the repo, It adds a link to Google Webcache
image
Opening that link worked for me

@leviethung2103
Copy link

@osmanfurkan115 I've tried to open the Google Web cache. However, it shows the blank page after opening the link. Maybe I will wait for the authors to update the extension or pay 5$ for month subscription :D

@UsamaKarim
Copy link

@leviethung2103

  1. Which link you have tried?
  2. Are you using .crx version or BPC for installation?

@und3fined
Copy link
Owner

und3fined commented Aug 1, 2023

Screenshot 2023-08-01 at 15 01 59

This is first look for new unlock content

@und3fined
Copy link
Owner

Hi all, i release a pre-release

Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

@giasraya
Copy link

giasraya commented Aug 2, 2023

Hi all, i release a pre-release

Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

image

it's working
Link

Thanks @und3fined

@ffreemt
Copy link

ffreemt commented Aug 2, 2023

Awesome it works! Thanks a lot.

@jamalkaksouri
Copy link

Hi all, i release a pre-release

Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I opened another article that required a subscription using the same IP, but for this article, it gives an IP block error! Why?
Accessible -> https://towardsdatascience.com/overview-of-ui-monitoring-tools-for-apache-kafka-clusters-9ca516c165bd
Inaccessible -> https://tomaszs2.medium.com/5-amazing-go-projects-cybersecurity-networking-and-cloud-architecture-7c4b68cc7f26
inaccessable

@UsamaKarim
Copy link

UsamaKarim commented Aug 2, 2023

It gives an IP block error!

It seems like Google does not yet cache the content

@jamalkaksouri
Copy link

Hi all, i release a pre-release
Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I opened another article that required a subscription using the same IP, but for this article, it gives an IP block error! Why? Accessible -> https://towardsdatascience.com/overview-of-ui-monitoring-tools-for-apache-kafka-clusters-9ca516c165bd Inaccessible -> https://tomaszs2.medium.com/5-amazing-go-projects-cybersecurity-networking-and-cloud-architecture-7c4b68cc7f26 inaccessable

And in other articles, it remains frozen in the same state, and the information does not load.
inaccessable2

@txctxc
Copy link

txctxc commented Aug 2, 2023

Hi all, i release a pre-release

Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I opened an article that required a subscription -> https://towardsdatascience.com/uncovering-anomalies-with-variational-autoencoders-vae-a-deep-dive-into-the-world-of-1b2bce47e2e9 everything works including those python codes in this article.
However, I opened another article that required a subscription -> https://towardsdatascience.com/auto-encoder-what-is-it-and-what-is-it-used-for-part-1-3e5c6f017726 Some codes in the article does not show up:
image

@und3fined
Copy link
Owner

However, I opened another article that required a subscription -> https://towardsdatascience.com/auto-encoder-what-is-it-and-what-is-it-used-for-part-1-3e5c6f017726 Some codes in the article does not show up:

No there, it's bug from Medium

Screenshot 2023-08-02 at 23 18 32

@und3fined
Copy link
Owner

@jamalkaksouri Please make sure you can open Google cache
Try this link
http://webcache.googleusercontent.com/search?q=cache:https://tomaszs2.medium.com/5-amazing-go-projects-cybersecurity-networking-and-cloud-architecture-7c4b68cc7f26

This is my content

image

@nipnipj
Copy link

nipnipj commented Aug 3, 2023

Beta version is working here. I'm using Linux mint 21 and Microsoft Edge.

Edit:
I think code chunks are not being displayed.

@1noahmorris
Copy link

@und3fined How do I install it? Do I need an extension such as tampermonkey?

@und3fined
Copy link
Owner

@1noahmorris
Screenshot 2023-08-03 at 17 06 06

@cuongblhs
Copy link

cuongblhs commented Aug 3, 2023

Hello @und3fined
How to install the beta version for Firefox?

@1noahmorris
Copy link

@1noahmorris Screenshot 2023-08-03 at 17 06 06

It doesn't seem to work for me. I followed the instructions and have it installed, but on any medium article it is still locked, and it doesn't show the "Medium Unlocker" watermark at the top.

@rzsgrt
Copy link

rzsgrt commented Aug 4, 2023

Hi all, i release a pre-release

Please help me test: https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

Just test this and its work! Thank you.
But I have question (since i'm not familiar with this):

It is a snapshot of the page as it appeared on 30 Jul 2023 08:34:36 GMT.
The content is cached on Google and may not be up to date.

Medium article: link

So, it mean that article I'm read is based on content cached on 30 July? If there's update on this article, is it also update the snapshot?

@und3fined
Copy link
Owner

@rzsgrt Content from Google Cache and Google will update it but maybe need few day

@und3fined
Copy link
Owner

@cuongblhs There is a difference between the Manifest of Chrome and Firefox. You can download the zip file and create a Manifest compatible with Firefox yourself.

@cretin70707
Copy link

When using webcashe the site disappears. how to get around that?

@rzsgrt
Copy link

rzsgrt commented Aug 5, 2023

So today, I try to open this article

But I got
image

Anyone know why this happen?

@hs41-18
Copy link

hs41-18 commented Aug 9, 2023

it doesnt seem to be working

@bytebeats
Copy link

bytebeats commented Aug 10, 2023

When I Load unpacked, it show only errors:

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.

And my Chrome version is: Version 115.0.5790.170 (Official Build) (arm64)

@und3fined
Copy link
Owner

@bytebeats @hs41-18 use beta version

https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

@hs41-18
Copy link

hs41-18 commented Aug 10, 2023

@bytebeats @hs41-18 use beta version

https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I use beta, still seeing
image

@und3fined
Copy link
Owner

@bytebeats @hs41-18 use beta version
https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I use beta, still seeing image

Try reload page

@hs41-18
Copy link

hs41-18 commented Aug 10, 2023

the overlay only gets removed for the previously visible part of the screen for a second and then appears again. However, in anyway the rest of the article is not visible.

@cheemzboi
Copy link

i was trying to access this article link but it just removed the paywall and didnt show content then i looked the errors and found this
image

when i went to the link in the error page i could see the contents of the page normally

@eveningcafe
Copy link

my page cannot load image :(
image

@yskmry
Copy link

yskmry commented Aug 24, 2023

@und3fined
This fully works, but page translation does't work because content was wrapped by iframe.

@bytebeats
Copy link

@bytebeats @hs41-18 use beta version
https://github.com/und3fined/medium-unlocker/releases/tag/v1.0.0-beta.1

I use beta, still seeing image

Try reload page

Recently when I tried to open member-only articles, the codes can't be loaded, only an empty region there. What's happening now?

WX20230830-112321@2x

@bytebeats
Copy link

I have some open source workarounds for the new medium restriction, have a look: https://freedium.cfd

Freedium still cant load codes yet.

@ZhymabekRoman
Copy link

Freedium still cant load codes yet.

Do you mean iframe?

@bytebeats
Copy link

Freedium still cant load codes yet.

Do you mean iframe?

Sorry, I'm not familiar with web technology. When I try to load member-only articles in freedium.cfd, codes can't be displayed. And neither medium unlocker did.

@ZhymabekRoman
Copy link

Please provide example links

@bytebeats
Copy link

bytebeats commented Aug 31, 2023

Please provide example links

Try this guy pls: https://betterprogramming.pub/stop-calling-kotlin-flows-hot-and-cold-48e87708d863

PS: this guy is more obvious: https://betterprogramming.pub/demystifying-kotlins-channel-flows-b9007e1f773b, you can see part of its codes in safari.

@ZhymabekRoman
Copy link

ZhymabekRoman commented Aug 31, 2023

Okey, I understand you. I will implement iframe support asap

@adhiraj2001
Copy link

adhiraj2001 commented Sep 1, 2023

I have some open source workarounds for the new medium restriction, have a look: ***

Unfortunately, I am not able to find their Organization/Repository on GitHub, and the link to the source on their website doesn't seem to redirect to any URL either.

Any idea what's wrong here, or are they not open-source yet ?

Repository owner deleted a comment from ZhymabekRoman Sep 2, 2023
@NitishGadangi
Copy link

@und3fined Impressed by your work.
Any idea if we can make iframes work, at least the code snippets from GitHub Gist?

@ZhymabekRoman
Copy link

Any idea if we can make iframes work, at least the code snippets from GitHub Gist?

Done, check out

@Nikostito
Copy link

Nikostito commented Sep 29, 2023

I have some open source workarounds for the new medium restriction, have a look: ***

@ZhymabekRoman Stop promoting your "opensource" as you called it page. If you really care, then make it really opensource so everyone can benefit from it.

@ZhymabekRoman
Copy link

@ZhymabekRoman Stop promoting your "opensource" as you called it page. If you really care, then make it really opensource so everyone can benefit from it.

I update previous message, check out link

Repository owner deleted a comment from ZhymabekRoman Sep 30, 2023
@Olshansk
Copy link
Author

@und3fined I tried it on [this article](Medium Unlocker - The content in process of being unlocked. Please wait a moment...) with the new beta release, but it doesn't seem to work.

I see the new header pop up, and the footer goes away, but the actual content is not shown.

I tried to use the cached link some others referenced above, but the page ends up being empty.

I haven't looked deeper (yet), but wanted to know where this stands for others in the meantime.

Screenshot 2023-10-14 at 1 10 03 PM Screenshot 2023-10-14 at 1 10 07 PM

@PAEz
Copy link

PAEz commented Feb 2, 2024

Here's what Im using.
Turn off CORS - I use an extension. If someone wanted to turn this into an extension (I cant be bothered) then this wouldnt be a problem.
Turn the following code into a bookmarklet and drag it to your bookmarks bar. Sorry I couldnt just add the link here, github couldnt handle it.
Then go to a locked page and click it. All it does it get the sourcecode from the google cache and replace the pages with it.
Comments and who knows, dont work, but you can read the article.
Mainly putting this here incase someone wants to make an extension out of it.

     fetch("https://webcache.googleusercontent.com/search?q=cache:"+document.URL+"&vwsrc=1")
        .then((response) => {
        if (!response.ok) {
            throw new Error(`HTTP error in getting page: ${response.status}`);
        }
        return response.text();
    })
        .then((text) => {
        console.log('got page...');
        const parser = new DOMParser();
        const d = parser.parseFromString(text, "text/html");
        var newHTML = document.open("text/html", "replace");
        newHTML.write(d.body.querySelector('pre').innerText);
        newHTML.close();
    })
        .catch((error) => {
        console.log('failed...',error);
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests