Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
V
venjob_thanhnd
  • 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 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • thanhnd
  • venjob_thanhnd
  • Merge Requests
  • !1

Merged
Opened Feb 12, 2020 by thanhnd@thanhnd 
  • Report abuse
Report abuse

Crawl data rake

Edited Feb 19, 2020 by Ba Toi Dang
  • Discussion 7
  • Commits 14
  • Pipelines 13
  • Changes 104
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • thanhnd @thanhnd

    added 1 commit

    • 09796600 - crawl data with rake

    Compare with previous version

    Feb 12, 2020

    added 1 commit

    • 09796600 - crawl data with rake

    Compare with previous version

    added 1 commit * 09796600 - crawl data with rake [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4680&start_sha=d3f43332031b70a85c93dae7cf5a1c231e9083b0)
    Toggle commit list
  • thanhnd @thanhnd

    added 2 commits

    • eeedca0f - delete files and modify rake
    • 6f382fd2 - cleaning folder and edit crawler.rake

    Compare with previous version

    Feb 17, 2020

    added 2 commits

    • eeedca0f - delete files and modify rake
    • 6f382fd2 - cleaning folder and edit crawler.rake

    Compare with previous version

    added 2 commits * eeedca0f - delete files and modify rake * 6f382fd2 - cleaning folder and edit crawler.rake [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4685&start_sha=09796600a51b298d999bff4485e74a79f343d223)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • d8e11b39 - shorten CSS selector

    Compare with previous version

    Feb 17, 2020

    added 1 commit

    • d8e11b39 - shorten CSS selector

    Compare with previous version

    added 1 commit * d8e11b39 - shorten CSS selector [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4686&start_sha=6f382fd2b5b1d77af45b99116a6c30c0c233f6af)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 6250ed61 - shorten CSS selector .

    Compare with previous version

    Feb 17, 2020

    added 1 commit

    • 6250ed61 - shorten CSS selector .

    Compare with previous version

    added 1 commit * 6250ed61 - shorten CSS selector . [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4687&start_sha=d8e11b39683aac42768cb9440ac03b7c4e70f1cc)
    Toggle commit list
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    .rake_tasks~ 0 → 100644
    1 about
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Xóa file.

      Xóa file.
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784#d78de976610239a408489f18f3a093908d98092c_1_0)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    config/database.yml 100644 → 100755
    4 4 # Ensure the SQLite 3 gem is defined in your Gemfile
    5 5 # gem 'sqlite3'
    6 6 #
    7 default: &default
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Xóa nhưng dòng dư thừa.

      Xóa nhưng dòng dư thừa.
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    insert_areas.rb 0 → 100644
    1 def insert_area
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Xóa file.

      Xóa file.
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784#425a71395f3355c4ff1dbd770183f3339593eb5b_1_0)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    lib/tasks/crawler.rake 0 → 100644
    1 require 'addressable/uri'
    2 require 'uri'
    3
    4 namespace :crawler do
    5 task crawl: :environment do
    6 insert_data_area
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Tách thành 2 cái rake

      Tách thành 2 cái rake
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784#b321b772986de9dfe9db0ed4138ae166e577f241_6_6)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    lib/tasks/crawler.rake 0 → 100644
    1 require 'addressable/uri'
    2 require 'uri'
    3
    4 namespace :crawler do
    5 task crawl: :environment do
    6 insert_data_area
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Tách thành 2 cái rake

      Tách thành 2 cái rake
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784#b321b772986de9dfe9db0ed4138ae166e577f241_6_6)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 17, 2020
    Last updated by thanhnd Feb 17, 2020
    lib/tasks/crawler.rake 0 → 100644
    4 namespace :crawler do
    5 task crawl: :environment do
    6 insert_data_area
    7 crawl_data
    8 end
    9
    10 def crawl_data
    11 base_careerbuilder_url = "https://careerbuilder.vn"
    12 list_url = "#{base_careerbuilder_url}/viec-lam/tat-ca-viec-lam-vi.html"
    13
    14 while list_url.to_s.length > 0
    15 page = Nokogiri::HTML(open(list_url))
    16
    17 #get link for next page
    18 np = Nokogiri::HTML(open(list_url))
    19 nextpage = np.css('div.paginationTwoStatus a.right')
    • Ba Toi Dang @toidb commented Feb 17, 2020
      Master

      Chỉ dùng selector tag_name cà class_name khi cần thiết

      Chỉ dùng selector `tag_name` cà `class_name` khi cần thiết
    • thanhnd @thanhnd

      changed this line in version 5 of the diff

      Feb 17, 2020

      changed this line in version 5 of the diff

      changed this line in [version 5 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784#b321b772986de9dfe9db0ed4138ae166e577f241_19_18)
      Toggle commit list
    Please register or sign in to reply
  • thanhnd @thanhnd

    added 1 commit

    • 05f0132b - fix comment's Toi-san

    Compare with previous version

    Feb 17, 2020

    added 1 commit

    • 05f0132b - fix comment's Toi-san

    Compare with previous version

    added 1 commit * 05f0132b - fix comment's Toi-san [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4689&start_sha=6250ed61a1bea66bf470a12101077e7578e62784)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 7600ce5d - fix comment's Toi-san rake

    Compare with previous version

    Feb 17, 2020

    added 1 commit

    • 7600ce5d - fix comment's Toi-san rake

    Compare with previous version

    added 1 commit * 7600ce5d - fix comment's Toi-san rake [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4690&start_sha=05f0132b2fd3d3651e3cd2ce32facf61c964ac03)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 241d47d2 - edit rake

    Compare with previous version

    Feb 17, 2020

    added 1 commit

    • 241d47d2 - edit rake

    Compare with previous version

    added 1 commit * 241d47d2 - edit rake [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4691&start_sha=7600ce5d8c8b33794ca74421482466bcc184fb1d)
    Toggle commit list
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Feb 18, 2020
    Last updated by thanhnd Feb 18, 2020
    db/migrate/20200204082233_create_areas.rb 0 → 100755
    1 class CreateAreas < ActiveRecord::Migration[6.0]
    2 def change
    3 create_table :areas do |t|
    4 t.string :area_name
    5 t.string :area_description
    6 t.timestamps
    7 end
    8 add_index :areas, :id, unique: true
    • Ba Toi Dang @toidb commented Feb 18, 2020
      Master

      @thanhnd bị dư.

      @thanhnd bị dư.
    • thanhnd @thanhnd

      changed this line in version 8 of the diff

      Feb 18, 2020

      changed this line in version 8 of the diff

      changed this line in [version 8 of the diff](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4696&start_sha=241d47d2c5c34f50f6c23a1634dbec5295d7292c#2b6f1f54c8d4010bf02d698966ca789941d8e51a_8_8)
      Toggle commit list
    Please register or sign in to reply
  • thanhnd @thanhnd

    added 1 commit

    • 591cf6e6 - fix review 20200218

    Compare with previous version

    Feb 18, 2020

    added 1 commit

    • 591cf6e6 - fix review 20200218

    Compare with previous version

    added 1 commit * 591cf6e6 - fix review 20200218 [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4696&start_sha=241d47d2c5c34f50f6c23a1634dbec5295d7292c)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 6d9625dc - fix review 20200218 2

    Compare with previous version

    Feb 18, 2020

    added 1 commit

    • 6d9625dc - fix review 20200218 2

    Compare with previous version

    added 1 commit * 6d9625dc - fix review 20200218 2 [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4697&start_sha=591cf6e6e2aa67f597646b03edca0c209197f409)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 32df57ae - fix review 20200218 3

    Compare with previous version

    Feb 18, 2020

    added 1 commit

    • 32df57ae - fix review 20200218 3

    Compare with previous version

    added 1 commit * 32df57ae - fix review 20200218 3 [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4698&start_sha=6d9625dc81fa5f86ae99870dee565710a5fa6c00)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • d4068924 - fix reviews 20200218 16:38

    Compare with previous version

    Feb 18, 2020

    added 1 commit

    • d4068924 - fix reviews 20200218 16:38

    Compare with previous version

    added 1 commit * d4068924 - fix reviews 20200218 16:38 [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4701&start_sha=32df57ae68adc401137de2a6bfa681169e713abd)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 4432b5e6 - fix review phase 1 20200219 11:27

    Compare with previous version

    Feb 19, 2020

    added 1 commit

    • 4432b5e6 - fix review phase 1 20200219 11:27

    Compare with previous version

    added 1 commit * 4432b5e6 - fix review phase 1 20200219 11:27 [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4704&start_sha=d40689241d862f43607fc802282bec96e7308d6b)
    Toggle commit list
  • thanhnd @thanhnd

    added 1 commit

    • 35782d33 - add index to migration

    Compare with previous version

    Feb 19, 2020

    added 1 commit

    • 35782d33 - add index to migration

    Compare with previous version

    added 1 commit * 35782d33 - add index to migration [Compare with previous version](https://gitlab.zigexn.vn/thanhnd/venjob_thanhnd/merge_requests/1/diffs?diff_id=4705&start_sha=4432b5e6df1d5c824bf57d95aa15b5d7042941d9)
    Toggle commit list
  • Ba Toi Dang @toidb

    unmarked as a Work In Progress

    Feb 19, 2020

    unmarked as a Work In Progress

    unmarked as a **Work In Progress**
    Toggle commit list
  • Ba Toi Dang @toidb

    mentioned in commit 3ddf4fbe

    Feb 19, 2020

    mentioned in commit 3ddf4fbe

    mentioned in commit 3ddf4fbe31665ac1f7dfcc99c80ebe7fe0a0e55d
    Toggle commit list
  • Ba Toi Dang @toidb

    merged

    Feb 19, 2020

    merged

    merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
2
2 participants
Reference: thanhnd/venjob_thanhnd!1
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.