Skip to content

Cannot download tornadoes_report.pdf #4

@lorchda

Description

@lorchda

In 04-multi-modal-rag/text-images-rag-using-kb/text_images_rag_using_kb.ipynb cannot download the source file https://sgp.fas.org/crs/misc/IF12695.pdf as the request returns HTTP code 202 Accepted.

I tried with wget and received a 0 bytes file:

!wget https://sgp.fas.org/crs/misc/IF12695.pdf --no-check-certificate -O ./mm-data/tornadoes_report.pdf
--2025-09-29 05:18:43--  https://sgp.fas.org/crs/misc/IF12695.pdf
Resolving sgp.fas.org (sgp.fas.org)... 99.84.66.25, 99.84.66.23, 99.84.66.92, ...
Connecting to sgp.fas.org (sgp.fas.org)|99.84.66.25|:443... connected.
HTTP request sent, awaiting response... 202 Accepted
Length: 0 [text/html]
Saving to: ‘./mm-data/tornadoes_report.pdf’

./mm-data/tornadoes     [ <=>                ]       0  --.-KB/s    in 0s      

2025-09-29 05:18:43 (0.00 B/s) - ‘./mm-data/tornadoes_report.pdf’ saved [0/0]

I was able to download the file using a browser, but not programmatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions