Feb-07-2022, 07:52 PM
I've got a list [my_list] that contains a variable part of a web address I want to access. The web address outputs a result that I want to grab with .get and add into a new list.
Example:
www.list.com/my_list[0]
Output from site:
xyz
Ideally I'd like to create a new list with xyz in the same position as the variable part of the address in the first list.
I've got thousands of items in the list, so looking to get away from doing this manually, but my novice brain hasn't put together how.
Thanks in advance.
Example:
www.list.com/my_list[0]
Output from site:
xyz
Ideally I'd like to create a new list with xyz in the same position as the variable part of the address in the first list.
I've got thousands of items in the list, so looking to get away from doing this manually, but my novice brain hasn't put together how.
Thanks in advance.