Gallery-dl: [Twitter] Problem downloading list from text files.

Created on 7 Jun 2020  路  2Comments  路  Source: mikf/gallery-dl

Using the --input-file option to download a list of valid URLs from twitter in a text file doesn't seem to be working anymore. It'll successfully check the first link and download images from said user, but from the second link onwards the program will keep rechecking the first user until it finishes reading the whole list.

I've tested downloading some lists from different websites (mangadex, tumblr) and it seems to be working just fine.

Most helpful comment

I have the same bug, in the meantime a possible solution is to make a small script that loads each line individually here is what I did with powershell

$TXTList = #location of your txt list
$database = #location for your database file
$config = #location of your config file

foreach ($manga in [System.IO.File]::ReadLines("$TXTList")){    
        if ($item | Select-String -Pattern 'twitter'){  
            gallery-dl --sleep 15 --download-archive $database -c "$config" "$item"     
        } 

This will load each individual line into gallery-dl then exit and start again with a new url.

All 2 comments

I have the same bug, in the meantime a possible solution is to make a small script that loads each line individually here is what I did with powershell

$TXTList = #location of your txt list
$database = #location for your database file
$config = #location of your config file

foreach ($manga in [System.IO.File]::ReadLines("$TXTList")){    
        if ($item | Select-String -Pattern 'twitter'){  
            gallery-dl --sleep 15 --download-archive $database -c "$config" "$item"     
        } 

This will load each individual line into gallery-dl then exit and start again with a new url.

Thank you reporting this issue - I don't think I would've found it without - but next time please include the version of gallery-dl you are using. I assumed you were on 1.14.0 and was trying to reproduce this issue without success and had already dismissed it, until trying with the current git master ...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OvertPerson picture OvertPerson  路  5Comments

lyz-code picture lyz-code  路  6Comments

CaptainJawZ picture CaptainJawZ  路  5Comments

w158297 picture w158297  路  4Comments

ucok66 picture ucok66  路  3Comments