Keep the past, for all intents and purposes, where it is. - Okabe Rintarou, Steins;Gate.
Mind this post’s date, it’s still the lockdown caused by the one and only COVID-19 and I had no projects on hand. So… Well it was time to build yet another app based on the Japanese Culture I’m a f*ckin weeb I get it okay don’t judge me. So this time I wanted to make something out of my comfort zone, as in something without using an existing API for it (unlike the last weeb app I built, yes I am talking about Konachan-Sama), so I decided to make something by scraping existing sites made for weebs.
And hello there 😍! I thought about making a sleek Manga / Manhwa / Manhua app using Flutter! And started my hunt to look for a website that I could leach off pretty easily.
Enters Manganelo a website that has a non-existent robots.txt (which not only made my scraping super easy) and a wide range of comics to fulfill almost every other SFW-Believing-Weeb out there.
The entire landing page was crawling with so much information, it almost made me anxious. I did not feel the need to make a professionally laid out wireframe for the UI. I decided to cover the entire UI using 2 tabs and display everything that was shown on the landing page
The Grind Begins
Started as Fun
So I started with writing data models for every element that I would be displaying, it was something like this:
Looks pretty easy right? Wait the nightmare is about to get started! After this I had to write the scrapping part, ahaha it was fun, until it wasn’t. I will show only one method here, others are similar to bear with me:
Well the project was tiresome and I had to write alternative scraping mechanisms as the dumb website redirects some of the comics, still there were / are performance issues somewhere and I think they need to be taken care of but as of now the app will stay in it’s 2nd beta pre-release state. But, I will surely plan to update it overtime and hopefully it will turn out to be interesting.