Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txt file format #2

Open
lisa676 opened this issue Oct 15, 2020 · 0 comments
Open

txt file format #2

lisa676 opened this issue Oct 15, 2020 · 0 comments

Comments

@lisa676
Copy link

lisa676 commented Oct 15, 2020

If txt file have images name (defined by us) first and then image url. In this case how to download? Below is example

cat-1.png https://cdn.pixabay.com/photo/2017/06/12/19/02/cat-2396473__480.jpg
cat-2.png https://cdn.pixabay.com/photo/2017/06/12/19/02/cats-796437__480.jpg
cat-3.png https://cdn.pixabay.com/photo/2017/06/12/19/02/cat-67345__480.jpg

In above example there are two main parts in one line, first is image name and second it image url. Downloaded image name will be different but I want to apply image name given in the start of every line.
For example in line 2 from above data, the downloaded image will be cats-796437__480.jpg but after downloading it should be renamed and then save as cat-2.png .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant