| | |
| | | |
| | | } |
| | | |
| | | //http://pic7.iqiyipic.com/image/20201029/c8/70/a_100417138_m_601_m12.jpg |
| | | //http://pic7.iqiyipic.com/image/20201027/68/fb/v_154231741_m_601.jpg |
| | | public static String getHPicture(String url) { |
| | | String regex = "_m[0-9]+\\.jpg"; |
| | | String regex = "(_m[0-9]+\\.jpg)|(_m_[0-9]+\\.jpg)"; |
| | | Pattern p = Pattern.compile(regex); |
| | | Matcher m = p.matcher(url); |
| | | if (m.find()) { |
| | |
| | | } |
| | | |
| | | public static String getVPicture(String url) { |
| | | String regex = "_m[0-9]+\\.jpg"; |
| | | String regex = "(_m[0-9]+\\.jpg)|(_m_[0-9]+\\.jpg)"; |
| | | Pattern p = Pattern.compile(regex); |
| | | Matcher m = p.matcher(url); |
| | | if (m.find()) { |