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
Archivy does not currently save images if there is not file extension. It should check the Content-Type header instead of the file extension in src tag.
However, that requires downloading at least part of each file. For example:
In [8]: r=requests.head(
...: "https://core.telegram.org/file/811140081/1/VldnlW70g2I/a140b0216e7d156ebc"
...: )
In [9]: r.headers["Content-Type"]
Out[9]: 'text/html'
In [10]: r=requests.get(
...: "https://core.telegram.org/file/811140081/1/VldnlW70g2I/a140b0216e7d156ebc"
...: )
In [11]: r.headers["Content-Type"]
Out[11]: 'image/jpeg'
The text was updated successfully, but these errors were encountered:
Archivy does not currently save images if there is not file extension. It should check the
Content-Type
header instead of the file extension insrc
tag.However, that requires downloading at least part of each file. For example:
The text was updated successfully, but these errors were encountered: