Since you are getting an offer, it's time for you to sit down and work out what kind of skills and experience you expect out of it. As a rule, I don't take an offer from the next employer unless I can clearly justify why I took that offer to whatever prospective employer comes after my next employer.
You might take this job offer because you can't afford the luxury of being unemployed, but it must clear in your mind why you are taking it. But taking the offer might work for you if you can explain to the prospective employer who comes after your next employer that it bought you time to look around, broaden and deepen your skills set and get ready for the next challenges.
The question is: how adaptive, resourceful and opportunistic are you, how good are you are make lemonade out of lemons, and how clear are you about your medium and long term career goals? Not that clear is OK - I can't see past five years myself :)
In general, I don't like leaving too early. But if Google made me an offer, I'd be zooming out of that door and woe to my boss if he is by the door pushing a walker - there are some opportunities in life that you just have to jump at :)