I need to create a web scraper to gather a list of events listed on a single specific website. The scraper will convert events found on a website's online calendar into files containing the detail of those events.
At this URL you will find a "calendar" listing upcoming events:
[login to view URL]
The scraper must be written in Perl or Ruby. The program should take two command line arguments.
* The first argument should be an integer number of days into the future to scan. For example, if this argument were zero, it would indicate that only today's events should be scanned or if this argument were 2 it would indicate that all events occurring today, tomorrow, and the day after should be scanned.
* The second command line argument should be the name of a local directory where output files are placed.
Each "event" found on the calendar should cause the creation of one output file. The output file name should consist of the date on which the event "occurs" (in the format YYYY-MM-DD) as well as any additional characters to make the output filename unique and the file suffix should be ".yaml". An example of a valid filename might be "[login to view URL]" to indicate the second event occurring on February 17, 2019. The output file format should be YAML. An example of a valid output file is attached.
Each YAML file is built up from scraping the event detail page such as this one: [login to view URL]
In the attached example, the scraped data elements are circled in red. Please note that the detail page shown in the example actually has multiple events on it and should generate multiple output YAML files (one for each date/time).
For example, suppose that the script you create is called [login to view URL] and you invoke it with this command line on a Linux server:
./[login to view URL] 2 /tmp/scrapefiles
It would generate perhaps 6 yaml files in the /tmp/scrapefiles directory.
18 freelancere byder i gennemsnit $157 på dette job
Hello, I will create the web scraper in Ruby, please send me a message so we can discuss more, i have 8+ years of experience, i have done similar job for many web applications. Thanks!
Hello, I have gone through the JD, i can work on the scraper, i have done similar job before, i have 9+ years of experience in ROR, please send me a message so we can discuss further. Thank you!
Hi , I can achieve this using perl. I have 7byears of experience in perl. I would also like to know the platform you are using to run the script. let me know your preferences. thanks,