Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crawler.vmusicchart.vn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
crawler.vmusicchart.vn
Commits
1ee12f80
Commit
1ee12f80
authored
Mar 29, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thêm ghi chú cho log lấy lượt nghe
parent
b83cf2f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CrawlerTrackImageCommand.php
app/Console/Commands/CrawlerTrackImageCommand.php
+1
-1
CrawlerTrackListenCommand.php
app/Console/Commands/CrawlerTrackListenCommand.php
+3
-3
No files found.
app/Console/Commands/CrawlerTrackImageCommand.php
View file @
1ee12f80
...
...
@@ -47,7 +47,7 @@ class CrawlerTrackImageCommand extends Command
*/
public
function
handle
()
{
$tracks
=
$this
->
trackRepository
->
getTrackImageEmpty
(
2
00
);
$tracks
=
$this
->
trackRepository
->
getTrackImageEmpty
(
5
00
);
echo
"
\n
Tổng số bài hát cần lấy ảnh về: "
.
count
(
$tracks
);
...
...
app/Console/Commands/CrawlerTrackListenCommand.php
View file @
1ee12f80
...
...
@@ -47,9 +47,6 @@ class CrawlerTrackListenCommand extends Command
*/
public
function
handle
()
{
// Ghi log xem có gọi không
Crontjob
::
create
([
'message'
=>
'CrawlerTrackListenCommand is called at '
.
Carbon
::
now
()]);
$from_page
=
$this
->
argument
(
'from_page'
);
$limit
=
$this
->
option
(
'limit'
);
...
...
@@ -112,6 +109,9 @@ class CrawlerTrackListenCommand extends Command
}
echo
"
\n
Lấy số lượt nghe kết thúc."
;
// Ghi log xem có gọi không
Crontjob
::
create
([
'message'
=>
'CrawlerTrackListenCommand is called ('
.
$from_page
.
')'
]);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment