aldnav / comicthread

Get random comics from multiple sources (XKCD, Commitstrip, ...)
MIT License
4 stars 0 forks source link

Read csv for source and selector mapping #1

Open aldnav opened 5 years ago

aldnav commented 5 years ago

Currently, the sources and the selectors used are hard-coded. An improvement is to read a CSV file with the source, selector values in it.

PercyJia95 commented 5 years ago

Hello, can you tell me where is the source and selector values you meant. Are they in the script.py? And which function? Just want to help.

aldnav commented 5 years ago

@PercyJia95 here https://github.com/aldnav/comicthread/blob/master/async_dl.py#L47-L54

Thanks!

PercyJia95 commented 5 years ago

Thank you! I will look in