Last active
February 2, 2016 17:18
-
-
Save MeoBeoI/388d003ccd161459f6f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request('http://getListFilms.com', function(err, listFilms) { | |
if (err) console.log('xu li loi di ne pa'); | |
request('http://getListGai.net', function(err, listGais) { | |
if (err) console.log('xu li loi nua di ne pa'); | |
request('http://guiListFilmChoListGai', function(err, listGaiOkDiXemFilmDeBanLuaChon){ | |
if (err) console.log('xu li cai nay nua la xong'); | |
if (listGaiOkDiXemFilmDeBanLuaChon.length == 0) { | |
// Nhu cai bui trau | |
} else { | |
return listGaiOkDiXemFilmDeBanLuaChon; | |
} | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment