public String getStatus(String edit) throws IOException {
        String editStatus;
        if (edit != null) {
            if (edit.contains("http")) {
                Document doc = Jsoup.connect(edit).timeout(0).get();
                String html = doc.toString();

                if (!doc.location().contains("gw=") || doc.location().contains("gw=129")) {
                    editStatus = LINK_MALFORMED.toString();
                } else {
                    if (html.contains(PENDING_ICON) && html.contains("stat-pending")) {
                        editStatus = PENDING.toString();
                    } else {
                        if (html.contains(PUBLISHED_ICON)) {
                            editStatus = PUBLISHED.toString();
                        } else {
                            if (html.contains(PLACE_DELETED)) {
                                editStatus = DELETED.toString();
                            } else {
                                editStatus = UNDEFINED.toString();
                            }
                        }
                    }
                }

//                if (editStatus.equals(PUBLISHED.toString()) || editStatus.equals(PENDING.toString())) {
//                    getEditInfo(html);
//                }

            } else editStatus = NO_LINK.toString();
        } else editStatus = NO_LINK.toString();

        return editStatus;
    }