Examples of searchByChannel()


Examples of com.tubeonfire.service.YoutubeService.searchByChannel()

          if (type.equals("2")) {
            YoutubeService tubeService = new YoutubeService();
            tubeService.setPage(1);
            tubeService.setLimit(49);
            List<Tube> listToAdd = new ArrayList<Tube>();
            tubeService.searchByChannel(channelId, true);
            for (Tube tube : tubeService.getListResult()) {
              tube.setPlaylistId(playlistId);
              listToAdd.add(tube);
            }
            TubeModel.insert(listToAdd);
View Full Code Here

Examples of com.tubeonfire.service.YoutubeService.searchByChannel()

          int limit = 49;
          YoutubeService tubeService = new YoutubeService();
          tubeService.setPage(1);
          tubeService.setLimit(limit);
          List<Tube> listToAdd = new ArrayList<Tube>();
          tubeService.searchByChannel(channelId, true);
          for (Tube tube : tubeService.getListResult()) {
            tube = processTubeDetail(playlistId, tube);
            String uri = tube.getAuthorUrl();
            if (uri != null && uri.length() > 0) {
              if (AuthorModel.getById(uri) == null) {
View Full Code Here

Examples of com.tubeonfire.service.YoutubeService.searchByChannel()

          if (mission != null) {
            YoutubeService tubeService = new YoutubeService();
            tubeService.setPage(mission.getSearchPage());
            tubeService.setLimit(mission.getSearchLimit());
            List<Tube> listToAdd = new ArrayList<Tube>();
            tubeService.searchByChannel(mission.getSearchKeyword(),
                true);
            Queue queue = QueueFactory.getDefaultQueue();         
            for (Tube tube : tubeService.getListResult()) {
              tube = processTubeDetail(mission.getPlaylistId(),
                  tube);
View Full Code Here

Examples of com.tubeonfire.service.YoutubeService.searchByChannel()

            if (matcher.find()) {
              keyword = matcher.group().replace("youtube.com/",
                  "");
            }
          }
          tubeService.searchByChannel(keyword, true);
        } else if (type.equals("2")) {
          tubeService.setPage(page);
          tubeService.searchByKey(keyword, quanlity.equals("2"));
        } else if (type.equals("3")) {
          String pattern = "(?:videos\\/|v=)([\\w-]+)";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.