Hey guys i'm new here and still trying to figure this out.
Im currently trying to do 2 things and im lost doing it lol.
I already got my parsing working etc so now just want to input the data
into the script w/o the need of opening the script (if possible)
example :
start_urls = [
read from file.txt
]
and file.txt has the following:
"website.com/0001.htm",
"website.com/0002.htm",
"website.com/0003.htm"
now what I would ReAlly love to do is have like a loop (like do while,
or w/e)
so the code might look like (this is not how it is written i have no idea
how it will work)
start_urls = [
#command to read line one from file.txt
while character >= 0 (theres atleast a character) then
"website.com/"variable".htm",
else finish
]
Another issue will also be the comma placing
Ill be visiting the same site just different directories eg
site.com/a
site.com/b
site.com/c etc
and i just want the external file to look like
a
b
c
--
You received this message because you are subscribed to the Google Groups
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.