When using Net:HTTP parser to scrape Google is it possible to change the URL parameters used for the second page? So the first query would be normal first page Google query: https://www.google.com/search?q=$query But for the second/next page I want the query string to be: https://www.google.com/search?q=$query&start=10&num=100 Thanks!
Use $tools.query.add: http://en.a-parser.com/wiki/template-tools/#tools-query-adding-of-requests to add your own query. In this case, it would look like this: Code: [% tools.query.add('https://www.google.com/search?q=' _ query _ '&start=10&num=100') %]
Where would I add that to this Task: Spoiler: Task Screenshot Spoiler: Task Import Code eyJwcmVzZXQiOiJUd28gUGFnZSBUZXN0IiwidmFsdWUiOnsicHJlc2V0IjoiVHdv IFBhZ2UgVGVzdCIsInBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsi dHlwZSI6Im92ZXJyaWRlIiwiaWQiOiJnb29kQ29kZSIsInZhbHVlIjpbMjAwXX0s eyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6InVzZXItYWdlbnQiLCJ2YWx1ZSI6Ik1v emlsbGEvNS4wIChXaW5kb3dzIE5UIDYuMTsgV09XNjQpIEFwcGxlV2ViS2l0LzUz Ny4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS80Ny4wLjI1MjYuMTExIFNh ZmFyaS81MzcuMzYifSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicXVlcnlmb3Jt YXQiLCJ2YWx1ZSI6Imh0dHBzOi8vd3d3Lmdvb2dsZS5jby51ay9zZWFyY2g/cT1b JSBxdWVyeSB8IHVyaSAlXSZwd3M9MCZnbD11cyJ9LHsidHlwZSI6Im92ZXJyaWRl IiwiaWQiOiJwcm94eXJldHJpZXMiLCJ2YWx1ZSI6IjEwMCJ9LHsidHlwZSI6ImN1 c3RvbVJlc3VsdCIsInJlc3VsdCI6WyJwYWdlcyIsImRhdGEiXSwicmVnZXgiOiIo Pzo8ZGl2IGNsYXNzPVwic3JnXCI+fDxkaXYgY2xhc3M9XCJnXCIgZGF0YS1odmVp ZD1cIlxcZCtcIj4pKC4rPyk8IS0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pbGVkUXVlcmllcyI6ZmFsc2Us Iml0ZXJhdG9yT3B0aW9ucyI6eyJvbkFsbExldmVscyI6ZmFsc2UsInF1ZXJ5QnVp bGRlcnNBZnRlckl0ZXJhdG9yIjpmYWxzZSwicXVlcnlCdWlsZGVyc09uQWxsTGV2 ZWxzIjpmYWxzZX0sInJlc3VsdHNPcHRpb25zIjp7Im92ZXJ3cml0ZSI6ZmFsc2V9 LCJkb0xvZyI6Im5vIiwia2VlcFVuaXF1ZSI6Ik5vIiwibW9yZU9wdGlvbnMiOmZh bHNlLCJyZXN1bHRzUHJlcGVuZCI6IiIsInJlc3VsdHNBcHBlbmQiOiIiLCJxdWVy eUJ1aWxkZXJzIjpbXSwicmVzdWx0c0J1aWxkZXJzIjpbeyJzb3VyY2UiOlswLFsi bWlzc3BlbGwiLCJrZXkiXV0sInR5cGUiOiJyZW1vdmVIdG1sIiwiYXJyYXkiOiJt aXNzcGVsbCIsInRvIjoia2V5In1dLCJjb25maWdPdmVycmlkZXMiOltdLCJydW5U YXNrT25Db21wbGV0ZSI6bnVsbCwidXNlUmVzdWx0c0ZpbGVBc1F1ZXJpZXNGaWxl IjpmYWxzZSwicnVuVGFza09uQ29tcGxldGVDb25maWciOiJkZWZhdWx0IiwidG9v bHNKUyI6IiJ9fQ==
I don't understand how to integrate it into my existing result format and do I still need to use the "Next Page" regex that I'm using or can I remove that since the $tools.query.add code seems to take care of the second query I need.
In this case, the result format should look like this: At the same time query template need to move from a Query format of preset into the General query format to avoid formatting the request obtained from $tools.query.add. Also need to remove Check next page, because this feature is already implementing $tools.query.add. Spoiler: Code Code: eyJwcmVzZXQiOiJkZWZhdWx0IiwidmFsdWUiOnsicHJlc2V0IjoiZGVmYXVsdCIs InBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsidHlwZSI6Im92ZXJy aWRlIiwiaWQiOiJnb29kQ29kZSIsInZhbHVlIjpbMjAwXX0seyJ0eXBlIjoib3Zl cnJpZGUiLCJpZC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VGFza09uQ29tcGxldGVD b25maWciOiJkZWZhdWx0IiwidG9vbHNKUyI6IiJ9fQ==
Thanks! This works great. I'm trying to setup a preset like the one I posted above except it only saves the raw html results and not the raw and parsed results. I have it working but I can't figure out how to set it up without the 1st result file for the parsed results. I highlighted the result file I want to remove in the screenshot below. It does work as is but it would be great to completely remove the unnecessary result file entry. When I remove that result file it doesn't work. I am guessing the problem is with the result format. Spoiler: Preset Code eyJwcmVzZXQiOiJyb3VnaDMiLCJ2YWx1ZSI6eyJwcmVzZXQiOiJyb3VnaDMiLCJw YXJzZXJzIjpbWyJOZXQ6OkhUVFAiLCJkZWZhdWx0Iix7InR5cGUiOiJvdmVycmlk ZSIsImlkIjoiZ29vZENvZGUiLCJ2YWx1ZSI6WzIwMF19LHsidHlwZSI6Im92ZXJy aWRlIiwiaWQiOiJ1c2VyLWFnZW50IiwidmFsdWUiOiJNb3ppbGxhLzUuMCAoV2lu ZG93cyBOVCA2LjE7IFdPVzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBs aWtlIEdlY2tvKSBDaHJvbWUvNDcuMC4yNTI2LjExMSBTYWZhcmkvNTM3LjM2In0s eyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6InByb3h5cmV0cmllcyIsInZhbHVlIjoi MTAwIn0seyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6InByb3h5YmFubmVkY2xlYW51 cCIsInZhbHVlIjoiMCJ9LHsidHlwZSI6Im92ZXJyaWRlIiwiaWQiOiJ0aW1lb3V0 IiwidmFsdWUiOiIzMCJ9XV0sInJlc3VsdHNGb3JtYXQiOiJbJSBJRiBwMS5pbmZv LnN1Y2Nlc3MgPT0gMTtcblx0JHBhZ2VzLmZvcm1hdCgnJGRhdGFcXG4nKTtcbkVO RDtcbnEgPSBxdWVyeS5vcmlnIHwgdXJpO1xudG9vbHMucXVlcnkuYWRkKCdodHRw czovL3d3dy5nb29nbGUuY29tL3NlYXJjaD9xPScgXyBxIF8gJy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icmVzdWx0c1ByZXBlbmQiOiIiLCJyZXN1bHRzQXBwZW5kIjoiIiwi cXVlcnlCdWlsZGVycyI6W10sInJlc3VsdHNCdWlsZGVycyI6W10sImNvbmZpZ092 ZXJyaWRlcyI6W10sInJ1blRhc2tPbkNvbXBsZXRlIjpudWxsLCJ1c2VSZXN1bHRz RmlsZUFzUXVlcmllc0ZpbGUiOmZhbHNlLCJydW5UYXNrT25Db21wbGV0ZUNvbmZp ZyI6ImRlZmF1bHQiLCJ0b29sc0pTIjoiIn19
$pages should be used when the task has options Use pages and/or Check next page. In this case enough $data. Also in the task is not a variable $serp. To solve your problem, and on the basis of the above, the preset will look like this: Spoiler: Preset Code: eyJwcmVzZXQiOiJkZWZhdWx0IiwidmFsdWUiOnsicHJlc2V0IjoiZGVmYXVsdCIs InBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsidHlwZSI6Im92ZXJy aWRlIiwiaWQiOiJnb29kQ29kZSIsInZhbHVlIjpbMjAwXX0seyJ0eXBlIjoib3Zl cnJpZGUiLCJpZCI6InVzZXItYWdlbnQiLCJ2YWx1ZSI6Ik1vemlsbGEvNS4wIChX aW5kb3dzIE5UIDYuMTsgV09XNjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUws IGxpa2UgR2Vja28pIENocm9tZS80Ny4wLjI1MjYuMTExIFNhZmFyaS81MzcuMzYi fSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJveHlyZXRyaWVzIiwidmFsdWUi OiIxMDAifSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJveHliYW5uZWRjbGVh bnVwIiwidmFsdWUiOiIwIn0seyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6InRpbWVv dXQiLCJ2YWx1ZSI6IjMwIn1dXSwicmVzdWx0c0Zvcm1hdCI6IlslIElGIHAxLmlu Zm8uc3VjY2VzcyA9PSAxO1xuXHRwMS5kYXRhIF8gXCJcXG5cIjtcbkVORDtcbn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dLCJyZXN1bHRzQnVpbGRlcnMiOltdLCJjb25m aWdPdmVycmlkZXMiOltdLCJydW5UYXNrT25Db21wbGV0ZSI6bnVsbCwidXNlUmVz dWx0c0ZpbGVBc1F1ZXJpZXNGaWxlIjpmYWxzZSwicnVuVGFza09uQ29tcGxldGVD b25maWciOiJkZWZhdWx0IiwidG9vbHNKUyI6IiJ9fQ==
Thanks! I made some updates where I could change the URL parameters on the fly by reading data from the query file and everything is working except for the file naming. I'm pretty sure it has to do with the second query and how the variables are stored/not stored. Spoiler: Task Screenshot The data from both queries is written to the same file which I want but the variables I'm using in the result file name don't have any values. If I change the result file name to the screenshot below file naming works for the first query only but it causes a completely different file to be written for the 2nd query. How do you carry the parameters over to the second query so the variables are used in the file name? Spoiler: Code Export eyJwcmVzZXQiOiJjdXN0b20gZ29vZ2xlIiwidmFsdWUiOnsicHJlc2V0IjoiY3Vz dG9tIGdvb2dsZSIsInBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsi dHlwZSI6Im92ZXJyaWRlIiwiaWQiOiJnb29kQ29kZSIsInZhbHVlIjpbMjAwXX0s eyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6InVzZXItYWdlbnQiLCJ2YWx1ZSI6Ik1v emlsbGEvNS4wIChXaW5kb3dzIE5UIDYuMTsgV09XNjQpIEFwcGxlV2ViS2l0LzUz Ny4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS80Ny4wLjI1MjYuMTExIFNh ZmFyaS81MzcuMzYifSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJveHlyZXRy aWVzIiwidmFsdWUiOiIxMDAifSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJv eHliYW5uZWRjbGVhbnVwIiwidmFsdWUiOiIwIn0seyJ0eXBlIjoib3ZlcnJpZGUi LCJpZCI6InRpbWVvdXQiLCJ2YWx1ZSI6IjMwIn0seyJ0eXBlIjoib3ZlcnJpZGUi LCJpZCI6InVz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cmkgJV0mcHdzPTAmZ2w9 WyUgcXVlcnkuZ2wgJV0maGw9WyUgcXVlcnkuaGwgJV0iXSwidW5pcXVlUXVlcmll cyI6dHJ1ZSwic2F2ZUZhaWxlZFF1ZXJpZXMiOmZhbHNlLCJpdGVyYXRvck9wdGlv bnMiOnsib25BbGxMZXZlbHMiOmZhbHNlLCJxdWVyeUJ1aWxkZXJzQWZ0ZXJJdGVy YXRvciI6ZmFsc2UsInF1ZXJ5QnVpbGRlcnNPbkFsbExldmVscyI6ZmFsc2V9LCJy ZXN1bHRzT3B0aW9ucyI6eyJvdmVyd3JpdGUiOmZhbHNlfSwiZG9Mb2ciOiJubyIs ImtlZXBVbmlxdWUiOiJObyIsIm1vcmVPcHRpb25zIjpmYWxzZSwicmVzdWx0c1By ZXBlbmQiOiIiLCJyZXN1bHRzQXBwZW5kIjoiIiwicXVlcnlCdWlsZGVycyI6W3si c291cmNlIjoicXVlcnkiLCJ0eXBlIjoic3RyaW5nU3BsaXQiLCJzZXBhcmF0b3Ii OiI7IiwidG8iOlsidGxkIiwiZ2wiLCJobCIsImlkIiwia3ciXX1dLCJyZXN1bHRz QnVpbGRlcnMiOltdLCJjb25maWdPdmVycmlkZXMiOltdLCJydW5UYXNrT25Db21w bGV0ZSI6bnVsbCwidXNlUmVzdWx0c0ZpbGVBc1F1ZXJpZXNGaWxlIjpmYWxzZSwi cnVuVGFza09uQ29tcGxldGVDb25maWciOiJkZWZhdWx0IiwidG9vbHNKUyI6IiJ9 fQ==
On the 1st level (2nd Page) need to submit the same query as in the 0th, in order to could work Query Builder. Besides the option Query Builders on all levels must be enabled. And link needs to be formed in the General query format, depending on the query level ($query.lvl). Also, the option Use format on all levels must be enabled. Therefore, the preset will look like this: Spoiler: Preset Code: eyJwcmVzZXQiOiJkZWZhdWx0IiwidmFsdWUiOnsicHJlc2V0IjoiZGVmYXVsdCIs InBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsidHlwZSI6Im92ZXJy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5nU3BsaXQi LCJzZXBhcmF0b3IiOiI7IiwidG8iOlsidGxkIiwiZ2wiLCJobCIsImlkIiwia3ci XX1dLCJyZXN1bHRzQnVpbGRlcnMiOltdLCJjb25maWdPdmVycmlkZXMiOltdLCJy dW5UYXNrT25Db21wbGV0ZSI6bnVsbCwidXNlUmVzdWx0c0ZpbGVBc1F1ZXJpZXNG aWxlIjpmYWxzZSwicnVuVGFza09uQ29tcGxldGVDb25maWciOiJkZWZhdWx0Iiwi dG9vbHNKUyI6IiJ9fQ==
Thanks! Never would have figured that out. Saved the day again. Thanks for all of your help and patience!
Ugh, another quirky issue cropped up. I have it set to so that every 2000 queries a new directory is created to keep the files per directory under control. The problem is sometimes the two queries per keyword are saved in two different files in different directories. Is there any way to ensure just a single file per query is created? If that is not possible how would you set it up to save each query to a separate file?
This occurs because the 1st page can be processed, for example, under the number 1990, and the second - under 2057. Therefore, in the current configuration file may be located in different folders. There is a solution. It is necessary to generate name of the folder on the first page and send it to the second, there to be used. So here are working preset: Spoiler: Code Code: eyJwcmVzZXQiOiJkZWZhdWx0IiwidmFsdWUiOnsicHJlc2V0IjoiZGVmYXVsdCIs InBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1bHQiLHsidHlwZSI6Im92ZXJy aWRlIiwiaWQiOiJnb29kQ29kZSIsInZhbHVlIjpbMjAwXX0seyJ0eXBlIjoib3Zl cnJpZGUiLCJpZCI6InVzZXItYWdlbnQiLCJ2YWx1ZSI6Ik1vemlsbGEvNS4wIChX aW5kb3dzIE5UIDYuMTsgV09XNjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUws IGxpa2UgR2Vja28pIENocm9tZS80Ny4wLjI1MjYuMTExIFNhZmFyaS81MzcuMzYi fSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJveHlyZXRyaWVzIiwidmFsdWUi OiIxMDAifSx7InR5cGUiOiJvdmVycmlkZSIsImlkIjoicHJveHliYW5uZWRjbGVh bnVwIiwidmF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