guitarzxt
About
- Username
- guitarzxt
- Joined
- Roles
- Member
Comments
-
Thanks. I submitted the three translators to github and made pull requests.
-
How do I change the priority?
-
nevermind
-
Where exactly does this code go, after the scraper items, or outside the scraper brackets?
-
So if the detect doesn't find the string contained in the Xpath it will disregard everything in that scraper?
-
I have tried if (FW.Xpath('//html/body/div[3]/div[3]/div[4]/div[1]/div/div/div[2]/b/span/a[contains(text(),"Dictionary of National Biography")]')) { FW.Scraper({ itemType : 'encyclopediaArticle', encyclopediaTitle : "Dictionary of N…
-
I just have to put the Xpath with the Contains part in the conditional?
-
Yes, I do want to establish whether an Xpath contains a certain string, and then scrape certain elements and give set values based on whether or not the string matches the header in the Xpath. How do I do that? I have looked on a number of sites o…
-
Okay, so can't I just use the xpathText to save a variable and then use a scraper below? Is that what you were suggesting before? All I want to do is the check what the header says. If is says one thing, then scrape this stuff. If it says an…
-
*sigh* Okay, are there any instructions for getting me started on that?
-
Okay, I have been working on this for quite a while. I am trying to get it working. I gave myself a little bit of a crash course on javascript. I like it, and it seems fairly straightforward. However, I am having trouble with the Xpath function …
-
Thanks, I greatly appreciate it. This helps a lot. I was a CS minor in college, so I'm comfortable with programming, but I have not programmed in Javascript, and I have not programmed in anything in about 10 years, but I can try my hand at it. If…