Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Can find a line with curl
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 20 Jan 2024 02:14:41 -0800
On 1/20/24 02:04, Hans Henrik Bergan via curl-users wrote:
> 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.
If find all kinds of hits on Migration too. Just not the
line I want as it shows on Firefox.
"https://semiconductor.samsung.com/resources/software-resources/Samsung_Data_Migration_Setup_4.0.0.18.exe"
Is what I am after. Then with the magic of Raku's (perl 6's)
regex, I extract both the revision and the download address.
> My guess is that the Data Migration functionality is integrated in
> Samsung Magician, and that the standalone Data Migration tool is
> deprecated.
Migration and Magician are two separate products. I
use them both. Migration is excellent. It even will
skip over bad blocks.
I also adore Clonezilla.
> 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.
It also adjusts up or down your partition extends, so it is
a bit more cleaver than dd alone, but it only works if the
target is a Samsung drive.
>
> On Sat, 20 Jan 2024 at 09:21, Dan Fandrich via curl-users
> <curl-users_at_lists.haxx.se> 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
Date: Sat, 20 Jan 2024 02:14:41 -0800
On 1/20/24 02:04, Hans Henrik Bergan via curl-users wrote:
> 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.
If find all kinds of hits on Migration too. Just not the
line I want as it shows on Firefox.
"https://semiconductor.samsung.com/resources/software-resources/Samsung_Data_Migration_Setup_4.0.0.18.exe"
Is what I am after. Then with the magic of Raku's (perl 6's)
regex, I extract both the revision and the download address.
> My guess is that the Data Migration functionality is integrated in
> Samsung Magician, and that the standalone Data Migration tool is
> deprecated.
Migration and Magician are two separate products. I
use them both. Migration is excellent. It even will
skip over bad blocks.
I also adore Clonezilla.
> 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.
It also adjusts up or down your partition extends, so it is
a bit more cleaver than dd alone, but it only works if the
target is a Samsung drive.
>
> On Sat, 20 Jan 2024 at 09:21, Dan Fandrich via curl-users
> <curl-users_at_lists.haxx.se> 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.htmlReceived on 2024-01-20