Re: Can find a line with curl

Hans Henrik Bergan via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <CAJmy8YEn1Bpp9gRDhW+XdukfcUeuOLHw6aJn_Z6vG6JgECV8uw@mail.gmail.com>
I don't get the data migration program served at all, neither with a
web browser nor curl.

But at https://semiconductor.samsung.com/us/consumer-storage/magician/
you'll find

>Data Migration: A safe and effortless way to migrate all your data – even your current OS, apps, and important files – from your old storage device (like an HDD) to the Samsung SSD. No fuss, just simple.

My guess is that the Data Migration functionality is integrated in
Samsung Magician, and that the standalone Data Migration tool is
deprecated.

Also sounds like Data Migration is a fancy UI for essentially running

sudo dd if=/dev/sda of=/dev/nvme0n1 iflag=fullblock bs=10M status=progress

on a bootable Linux USB stick.

On Sat, 20 Jan 2024 at 09:21, Dan Fandrich via curl-users
<[email protected]> wrote:
>
> On Fri, Jan 19, 2024 at 11:42:42PM -0800, ToddAndMargo via curl-users wrote:
> > With Firefox:
> >
> > view-source:https://semiconductor.samsung.com/consumer-storage/support/tools/
> >
> > I find this line.
> >
> > 6219: <a href="https://semiconductor.samsung.com/resources/software-resources/Samsung_Data_Migration_Setup_4.0.0.18.exe"
> > target="_blank" data-an-tr="hero banner" data-an-ca="outbound click"
> > data-an-ac="download file" data-an-la="data migration software">
> >
> >
> > But I can not find it with cURL:
>
> Chances are, the site thinks you're running a robot and is providing a
> different page to curl than Firefox. Try matching the Firefox headers exactly
> and you might get something different. Or, it might be basing the difference on
> the presence of cookies. Try enabling cookie support and go get a cookie from
> another page first before downloading this one. You can use Firefox's "Copy as
> cURL" feature to get a curl command-line with all the headers and cookies as
> used by Firefox to test this theory fairly easily.
>
> Dan
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
> Etiquette:   https://curl.se/mail/etiquette.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.