Giter Site home page Giter Site logo

movieui's Introduction

I'm En BTW, It's not a bug, it's a feature!

A little more about me...

switch zhou-en {
    case "pronouns":
        return "He | Him"
    case "title":
        return "Pythonista | Gopher | Rustacean"
    case "code":
        return "Python, Go, TypeScript, Rust"
    case "askMeAbout":
        return "web dev, tech, api, photography, basketball"
    case "backEnd Frameworks":
        return "Django, Flask, FaskAPI, Temporal"
    case "testing":
        return "TDD, BDD, Robot Framework, pytest"
    case "devOps":
        return "AWS, GCP, Docker"
    case "database":
        return "MongoDB, PostgreSQL, Sqlit"
    default:
        return "It's not a bug, it's a feature!"
}

Code Time

Profile Views

πŸ“Š This Week I Spent My Time On

πŸ•‘οΈŽ Time Zone: America/Regina

πŸ’¬ Programming Languages: 
Go                       7 hrs 17 mins       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   57.97 % 
Makefile                 1 hr 36 mins        β–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   12.77 % 
Python                   1 hr 15 mins        β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   09.94 % 
Git                      36 mins             β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   04.81 % 
JSON                     31 mins             β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   04.22 % 

πŸ”₯ Editors: 
GoLand                   11 hrs 7 mins       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘   88.47 % 
PyCharm                  1 hr 15 mins        β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   09.99 % 
WebStorm                 11 mins             β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   01.54 % 

πŸ’» Operating System: 
Mac                      12 hrs 29 mins      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   99.35 % 
Linux                    4 mins              β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   00.65 % 

Last Updated on 28/07/2024 01:24:12 UTC

movieui's People

Contributors

zhou-en avatar

Watchers

 avatar

movieui's Issues

The following movie names are edge cases

Buggy Movie List:

"The.Fast.and.the.Furious-Tokyo.Drift.\u901f\u5ea6\u4e0e\u6fc0\u60c53-\u4e1c\u4eac\u6f02\u79fb.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Fast.and.the.Furious.2Fast.2Furious.\u901f\u5ea6\u4e0e\u6fc0\u60c52.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Fast.and.the.Furious.\u901f\u5ea6\u4e0e\u6fc0\u60c5.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "Mission.Impossible.IV.Ghost.Protocol.2011.\u789f\u4e2d\u8c0d4\uff1a\u5e7d\u7075\u534f\u8bae.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "Ninja Assasin 1080p",
    "Oceans.Twelve.2004.\u5341\u4e8c\u7f57\u6c49.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024x576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Wolverine.Unleashed.Extended.Edition.2013.BluRay.1080p.DTS.x264-CHD",
    "This.Is.It.2009.iNT.BDRip.720p.AC3.X264-TLF-English",
    "Fargo.\u51b0\u8840\u66b4.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X544.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "Fast.and.Furious.6.2013.720p.WEB-DL.Rus.Eng.HDCLUB",
    "Fast.and.Furious.7.2015.READNFO.720p.WEBRiP.AC3.x264-LEGi0N",
    "Fast.And.Furious.\u901f\u5ea6\u4e0e\u6fc0\u60c54.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c.V2",
    "Stargate.Continuum.2008.\u661f\u9645\u4e4b\u95e8.\u65f6\u7a7a\u8fde\u7eed.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264",
    "Stargate.the.Ark.of.Truth.2008.\u661f\u9645\u4e4b\u95e8.\u771f\u7406\u4e4b\u76d2.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264",
    "Talhotblond.2012.720p.WEB-DL.DD5.1.H.264-NGB",
    "The.Graduate.\u6bd5\u4e1a\u751f.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Hunger.Games.720p.BluRay.X264-BLOW",
    "The.One.\u6551\u4e16\u4e3b.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Patriot.Extended.Cut.2000.810p.BluRay.x264.DTS-PRoDJi",
    "The.Prestige.\u81f4\u547d\u9b54\u672f.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "The.Seven.New.Signs.of.the.Apocalypse.720p.HDTV.x264-DHD",
    "The.Time.Travelers.Wife.2009.1080p.BluRay.x264.DTS-WiKi",
    "Angels.And.Demons.Extended.\u5929\u4f7f\u4e0e\u6076\u9b54.\u52a0\u957f\u7248.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c.V2",
    "Argo.Inside.Story.720p.HDTV.x264-EVOLVE",
    "Were.the.Millers.2013.Extended.BluRay.720p.DTS.x264-CHD",
    "Winters.Tale.2014.1080p.BluRay.x264-SPARKS",
    "X-Men.Origins.Wolverine.720p.BluRay.x264-METiS",
    "Yes.Man.\u597d\u597d\u5148\u751f.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "Qissa Panjab (2015) 720p DVDRip x264 AC3 5.1 ESub [DDR]",
    "R.I.P.D.2013.720p.WEB-DL.H264-WEBiOS",
    "Lockout.UNRATED.720p.BluRay.X264-BLOW",
    "Bruce.Almighty.\u5192\u724c\u5929\u795e.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",

    "Kate.And.Leopold.\u9694\u4e16\u60c5\u7f18.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c",
    "Deep.Impact.\u5929\u5730\u5927\u51b2\u649e.\u53cc\u8bed\u5b57\u5e55.HR-HDTV.AC3.1024X576.x264-\u4eba\u4eba\u5f71\u89c6\u5236\u4f5c"
"Daddys.Home.2.2017.1080p.WEB-DL.DD5.1.H264-FGT",
    "eight.grade.2018.1080p.WEB-DL.DD5.1.H264-CMRG[EtHD]",
    "Hotel.Transylvania.3.A.Monster.Vacation.2018.1080p.WEB-DL.DD5.1.H264-FGT",
    "Maze.Runner.The.Death.Cure.2017.1080p.WEB-DL.DD5.1.H264-FGT",
    "IP Man Side Story Cheung Tin Chi 2018 4K WEB-DL x 264 AAC-SmY",
    "Jurassic.Park.2.The.Lost.World.1997.1080p.Blu-ray.DTS-HD MA 7.1.4Audio.PGS.x264-liangbin@beAst",
    "Jurassic.Park.3.2001.1080p.Blu-ray.DTS-HD MA 7.1.3Audio.PGS.x264-liangbin@beAst",
    "Mollys.Game.2017.1080p.WEB-DL.H264.AC3-EVO[EtHD]",
    "Oceans.8.2018.1080p.WEB-DL.DD5.1.H264-FGT",
    "On.Wings.of.Eagles.2017.1080p.WEB-DL.DD5.1.H264-FGT",
    "Pacific.Rim.2.Uprising.2018.1080p.WEB-DL.H264.AC3-EVO",
    "pfa-time.trap.2017.1080p",
    "To.All.the.Boys.Ive.Loved.Before.2018.1080p.NF.WEB-DL.DDP5.1.x264-NTG",
    "snow-whitney.2018.limited.720p.bluray.x264"

Build Failures on Branch: Add-path-option-to-get-movie-command

Traceback

======================================================================
ERROR: test_get_resolution_from_filename (movie.tests.test_movie_crawler.MovieCrawlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/zhou-en/MovieUI/movie_ui/movie/tests/test_movie_crawler.py", line 50, in test_get_resolution_from_filename
    movie_crawler = MovieCrawler(test_filename)
TypeError: __init__() missing 1 required positional argument: 'path'
======================================================================
ERROR: test_parse_filename (movie.tests.test_movie_crawler.MovieCrawlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/zhou-en/MovieUI/movie_ui/movie/tests/test_movie_crawler.py", line 16, in test_parse_filename
    movie_crawler = MovieCrawler(test_filename)
TypeError: __init__() missing 1 required positional argument: 'path'
----------------------------------------------------------------------
Ran 2 tests in 0.002s
FAILED (errors=2)
Destroying test database for alias 'default'...
The command "coverage run --source="./movie_ui/movie" ./movie_ui/manage.py test movie --traceback --debug-mode" exited with 1.

Crawl Movie by Filename through Django Admin Site

As an admin user, I should be able to:

  • View movie data
  • Search movie by filename
    • Create a submit button and form to replace the crawl_movie command
  • Search movie database through movie endpoint (*)

Add api tests

  • Test get all movies
  • Test get movies in the given year
  • Test get movie has the given words in the title
  • Test get movie meet both year and title queries

Create MovieGenre model

Create MovieGenre model
This model will link between Movie and Genre using foreign keys.

  • imdb_id
  • genre_id

Update movie_saver() to create rows in MovieGenre
Added migration script to create rows in MovieGenre for existing movies in the database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.