https://github.com/dumbmachine/anakin-test
https://github.com/dumbmachine/anakin-test
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dumbmachine/anakin-test
- Owner: DumbMachine
- Created: 2021-10-26T05:25:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T11:28:25.000Z (over 4 years ago)
- Last Synced: 2025-04-05T11:35:23.920Z (about 1 year ago)
- Language: Python
- Size: 233 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Anakin Assignment
Total Time Spent: 1.8 hours
Scrapped data stats:
```
{
"location": 'Ground Floor, Building San Lazaro Compund, C. S. Gatmaitan Ave, Santa Cruz, Manila, 1003 Metro Manila, Philippines',
"total_listing": 1384
}
```
FTE Assignment
TODO: Grab restro data accompanied by `latitudes and longitudes` from food.grab.com
Approach:
1. Open url and enter a predefined location:
```
Marawi City Police Station - West, Matina Crossing, Davao City, Davao del Sur, Davao City, Davao Region (Region XI), 8000, Philippines
```
mimicking the input and clicking of **search** button.
2. Wait `5` before pressing **load more**.
3. Scroll all the way down and press on **load more**.
4. Grab lat/long data and store temp on file.
5. Start again from `2`.
## Demo Showcase
### Example Normal
https://user-images.githubusercontent.com/23381512/138827215-90683244-9158-4111-9329-ae47742980fa.mp4
### Example Failure in-between
https://user-images.githubusercontent.com/23381512/138820476-9a828164-d692-4c44-972b-c7f12da97f47.mp4