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

Picnob Bridge and Picuki Bridge for Instagram access works but does not show the image #4026

Open
stavnskov opened this issue Mar 24, 2024 · 6 comments
Labels
Bug-Report Confirmed bug report

Comments

@stavnskov
Copy link

Describe the bug
I tried both these bridges, and they both cannot show an image in html view or in InoReader. If I click the attachement it take me to the image in pixwox.com. If I click broken image icon it takes me to the post in pixwox.com

To Reproduce
Create a Picnob bridge
View it as HTML

Expected behavior
Text and photo should be shown for each post

Screenshots
image

Desktop:

  • OS: Windows 10
  • Browser: Chrome

Additional context
Private hosting Windows 10 Docker

@stavnskov stavnskov added the Bug-Report Confirmed bug report label Mar 24, 2024
@stavnskov
Copy link
Author

It is the same if I use the default value aesoprockwins

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
  <title type="text">Username aesoprockwins - Picnob Bridge</title>
  <link rel="alternate" type="text/html" href="https://www.picnob.com/profile/aesoprockwins/"/>
  <link rel="self" type="application/atom+xml" href="http://212.237.137.4:31234/?action=display&amp;bridge=PicnobBridge&amp;context=Username&amp;u=aesoprockwins&amp;format=Atom"/>
  <icon>https://www.picnob.com/favicon.ico</icon>
  <logo>https://www.picnob.com/favicon.ico</logo>
  <id>http://212.237.137.4:31234/?action=display&amp;bridge=PicnobBridge&amp;context=Username&amp;u=aesoprockwins&amp;format=Atom</id>
  <updated>2024-03-24T11:16:18+00:00</updated>
  <author>
    <name>RSS-Bridge</name>
  </author>
  <entry>
    <title type="html">Daylight shirts &amp;amp; hoodies loading… 🎥/👕 - &lt;a href="htt...</title>
    <published>2024-03-13T11:16:18+00:00</published>
    <updated>2024-03-13T11:16:18+00:00</updated>
    <id>urn:sha1:3c5b32747cfeb65045f7b1e1d6d4e651122eabc8</id>
    <link rel="alternate" type="text/html" href="https://www.picnob.com/post/6823283666526448401245/"/>
    <content type="html">&lt;a href="https://www.picnob.com/post/6823283666526448401245/"&gt;
        &lt;img loading="lazy" src="https://sp1.pixwox.com/p/pt_6823283666526448401245_0_146175156a6fc86221b7334804071baa.jpg?v/t51.29350-15/432397363_1110306910172374_7221255011057256122_n.jpg?stp=c0.280.720.720a_dst-jpg_e15_s640x640&amp;_nc_ht=scontent-nrt1-2.cdninstagram.com&amp;_nc_cat=110&amp;_nc_ohc=44DVblkB3ecAX-GaR9m&amp;edm=ABmJApABAAAA&amp;ccb=7-5&amp;oh=00_AfBzMU_WADbYqOQlnHKVQsGFMeoIaYz3Ci5lYJqc6NP84A&amp;oe=6601AB18&amp;_nc_sid=b41fef" /&gt;
&lt;/a&gt;
&lt;p&gt;&lt;i&gt;(video)&lt;/i&gt;&lt;/p&gt;


&lt;p&gt;Daylight shirts &amp;amp; hoodies loading… 🎥/👕 - &lt;a href="https://www.picnob.com/profile/twincitytees/"&gt;@twincitytees&lt;/a&gt;&lt;p&gt;</content>
    <link rel="enclosure" type="image/jpeg" href="https://sp1.pixwox.com/p/pt_6823283666526448401245_0_146175156a6fc86221b7334804071baa.jpg?v/t51.29350-15/432397363_1110306910172374_7221255011057256122_n.jpg?stp=c0.280.720.720a_dst-jpg_e15_s640x640&amp;_nc_ht=scontent-nrt1-2.cdninstagram.com&amp;_nc_cat=110&amp;_nc_ohc=44DVblkB3ecAX-GaR9m&amp;edm=ABmJApABAAAA&amp;ccb=7-5&amp;oh=00_AfBzMU_WADbYqOQlnHKVQsGFMeoIaYz3Ci5lYJqc6NP84A&amp;oe=6601AB18&amp;_nc_sid=b41fef"/>
  </entry>
  <entry>
    <title type="html">https://www.picnob.com/</title>
    <published>2024-03-10T11:16:18+00:00</published>
    <updated>2024-03-10T11:16:18+00:00</updated>
    <id>urn:sha1:6a4229ec64e04e9dc77149bf360a02a1ab0131bb</id>
    <link rel="alternate" type="text/html" href="https://www.picnob.com/post/6823661966727210492949/"/>
    <content type="html">&lt;a href="https://www.picnob.com/post/6823661966727210492949/"&gt;
        &lt;img loading="lazy" src="https://sp1.pixwox.com/p/pt_6823661966727210492949_0_a3f5b03e43bc0310c54f4e1417add3a7.jpg?v/t51.29350-15/432271103_1435385167082304_613752654167207926_n.jpg?stp=dst-jpg_e35_s640x640_sh0.08&amp;_nc_ht=scontent-nrt1-2.cdninstagram.com&amp;_nc_cat=100&amp;_nc_ohc=XfUwWfcTlJIAX9FAFq1&amp;edm=ABmJApABAAAA&amp;ccb=7-5&amp;ig_cache_key=MzMyMDQ5MTMyODAzNDAzMzU2Ng%3D%3D.2-ccb7-5&amp;oh=00_AfD_12iLyfE79LJ6qau-qmJwzIFt_uX_yGy_J19N1ReH-A&amp;oe=66041008&amp;_nc_sid=b41fef" /&gt;
&lt;/a&gt;

@sysadminstory
Copy link
Contributor

Hello !

Sorry, but I won't be able to fix those bridges : my dev environment is blocked by Cloudflare, and I won't be able to test if a fix works.

If anyone want to fix those bridges, feel free to fix them. If no one has fixed them, I will delete them.

@pin-grid-array
Copy link

@sysadminstory Please do not delete those bridges. Even if the image does not appear, the bridges still serve an important purpose because their RSS feeds still update properly. Some users (like me) use the feeds so that we are alerted whenever there is a new post. It takes only one extra click to go see the images directly on the sites. It would be a shame for those bridges to be completely deleted because of the need to take that extra step.

@sysadminstory
Copy link
Contributor

sysadminstory commented Apr 9, 2024

For Picnob Bridge :
I tried to find out the issue using a RSS Bridge Public instance : the URL of the image seems to be OK, but the website uses Cross Origin Resource Sharing header that prevents the use of the image on any other website than https://www.pixwox.com/ :
cross-origin-resource-policy: same-site

If your RSS reader is not web based, then it should work, but if your RSS reader is a web page, then the CORS header will prevent you to display the image.

We could imagine to use some external CORS Proxy or unblocker in this case. Doing this inside RSS Bridge would cause too much load, especially for any public instance.

For Picuki Bridge :
I tried to fix it by removing the content type hack that seems not to be necessary anymore in thus pull request
#4068

I hope it will be sufficient.

@sysadminstory
Copy link
Contributor

@stavnskov @pin-grid-array
Did #4068 fix the Picuki issue ?

@pin-grid-array
Copy link

@sysadminstory Yes, the Picuki feed displays images. Thank you, and sorry for the delayed response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Report Confirmed bug report
Projects
None yet
Development

No branches or pull requests

3 participants