Update code for 9gag json not working with pages