Closed uhlhosting closed 1 year ago
I see the issue might be here;
But I am not sure why is saved like Text and not String, since I did same like you showed in video.
It seems that you clicked the Element is inside iframe
when designing the task, which should not be selected if your web page is not inside an iframe
tag:
Please unselect this and try again, remember to get a new execution id after you modified the task.
@NaiboWang let me check that, I was following your video, you had them in iframe marked I think the video with eBay.
Which video were you watching? I don't think I have any video regarding the iframe. Are you watching from YouTube? Please check again.
You do not mention the iframe, yet I seen it was marked, wait il share printscreen.
So meanwhile I have tried your suggestions, edited the task, removed the =inside framework checkmark and saved it, yet the values are still shown as text.
I have recreated and not marked iframe in any, same results:
all values are as Text, if you are interested in debugging this on my side, I can provide Zoom, jitsi meeting or teamviewer, so you can see the steps I did and the results I got.
It's very late in Beijing time and I am on bed now. Maybe you can send the task file to my email address: naibowang@foxmail.com
I will check it tomorrow.
Also, please show me the link of the video, I will watch it to verify it is my video and all steps are correct. And I have tried the eBay task on my Mac, it works fine, so if your task still cannot work, you can also give me an email address and I will send the sample task to you.
send it please to kosmos@highacid.com , I will reply back with my settings. Tell me where they are stored also by default in mac.
Already sent, copy it to /Users/your user name/Library/Application Support/EasySpider/tasks
.
Hi,
So I managed to add the file in the tasks folder, yet it seems is not recognized by the program. It still shows only my tasks in the GUI.
Hi,
If you copied the file correctly, the file should be recognized by the program, because I have tried and successfully recognized it, if not, please ensure the folder is correct, it's in /Users/yourUserName/Library/Application Support/EasySpider/tasks
.
Or you can create a new task to see if there is a new JSON file in the folder, if not, you put it in the wrong folder; if yes, you can replace your new task file by the file I sent to you.
Hi,
here the path is correct:
And i also tried renaming the file to follow the current order. Removing or addding new via program works, by copy / paste not really.
This is really weird, because no matter what changes I do inside EasySpider, no changed happend in that folder you mentioned.
I suggest you remove the whole EasySpider
folder and redownload, reopen, and recreated a new task with EasySpider, then see if the folder is recreated again. And When you create a new task, see if there is a new JSON file in the EasySpider/tasks
folder.
This is weird to me too, if you can create a new task and successfully saved and reload it, which means it is absolutely stored in your local storage.
I did so, and the results is the same, with your file loaded I get:
still text instead of string.
This is my file...You have successfully loaded it. You can try to run it to see if the input box will be automatically entered "iphone" and the search button will be clicked, it should work now.
If you cannot get data, modify the task flow, change the xpath of the loop from /html/body/div[5]/div[4]/div[2]/div[1]/div[2]/ul[1]/li/div[1]
to /html/body/div[5]/div/div[2]/div[1]/div[2]/ul[1]/li/div[1]
, then rerun, it should work then.
I changed the parameter type from string
to text
at the newer version, if you just wonder why it's not string
, this is the answer.
And can you give me the link of my video? Is it from Youtube?
Ok seems regardless if is Text / String, the one you sent me seems to do the work. And it collects the data.
Unable to get it working on MacOS, it seems no matter how the task was build, I made it step by step after the video, and I get this;