Projects STRLCPY maigret Commits cb12b8cb
🤬
  • Default engines for specific cases added, +6 sites

  • Loading...
  • Soxoj committed 4 years ago
    cb12b8cb
    1 parent 4f3120df
  • ■ ■ ■ ■ ■ ■
    maigret/resources/data.json
    skipped 22640 lines
    22641 22641   "urlMain": "https://tripit.com",
    22642 22642   "usernameUnclaimed": "alex",
    22643 22643   "usernameClaimed": "noonewouldeverusethis7"
     22644 + },
     22645 + "freelance.ru": {
     22646 + "engine": "engine404get",
     22647 + "url": "https://freelance.ru/{username}/",
     22648 + "urlMain": "https://freelance.ru",
     22649 + "usernameUnclaimed": "alex",
     22650 + "usernameClaimed": "noonewouldeverusethis7"
     22651 + },
     22652 + "freelansim.ru": {
     22653 + "engine": "engine404get",
     22654 + "url": "https://freelansim.ru/freelancers/{username}",
     22655 + "urlMain": "https://freelansim.ru",
     22656 + "usernameUnclaimed": "alex",
     22657 + "usernameClaimed": "noonewouldeverusethis7"
     22658 + },
     22659 + "fotolog.com": {
     22660 + "engine": "engine404get",
     22661 + "url": "http://fotolog.com/{username}",
     22662 + "urlMain": "http://fotolog.com",
     22663 + "usernameUnclaimed": "red",
     22664 + "usernameClaimed": "noonewouldeverusethis7"
     22665 + },
     22666 + "thoughts.com": {
     22667 + "engine": "engine404get",
     22668 + "url": "http://thoughts.com/profile/{username}",
     22669 + "urlMain": "http://thoughts.com",
     22670 + "usernameUnclaimed": "red",
     22671 + "usernameClaimed": "noonewouldeverusethis7"
     22672 + },
     22673 + "hackernoon.com": {
     22674 + "engine": "engine404message",
     22675 + "url": "https://hackernoon.com/{username}",
     22676 + "urlMain": "https://hackernoon.com",
     22677 + "usernameUnclaimed": "god",
     22678 + "usernameClaimed": "noonewouldeverusethis7"
     22679 + },
     22680 + "intigriti.com": {
     22681 + "engine": "engine404message",
     22682 + "url": "https://intigriti.com/public/profile/{username}",
     22683 + "urlMain": "https://intigriti.com",
     22684 + "usernameUnclaimed": "alex",
     22685 + "usernameClaimed": "noonewouldeverusethis7"
    22644 22686   }
    22645 22687   },
    22646 22688   "engines": {
    skipped 76 lines
    22723 22765   "name": "engineRedirect",
    22724 22766   "site": {
    22725 22767   "checkType": "response_url"
     22768 + }
     22769 + },
     22770 + "engine404get": {
     22771 + "name": "engine404get",
     22772 + "site": {
     22773 + "checkType": "status_code",
     22774 + "requestHeadOnly": false
     22775 + }
     22776 + },
     22777 + "engine404message": {
     22778 + "name": "engine404message",
     22779 + "site": {
     22780 + "checkType": "message",
     22781 + "absenceStrs": [
     22782 + "404"
     22783 + ]
    22726 22784   }
    22727 22785   }
    22728 22786   }
    skipped 1 lines
  • ■ ■ ■ ■ ■
    maigret/sites.py
    skipped 116 lines
    117 117   # remove list items
    118 118   if isinstance(engine_data[k], list) and is_exists:
    119 119   for f in engine_data[k]:
    120  - self_copy.__dict__[field].remove(f)
     120 + if f in self_copy.__dict__[field]:
     121 + self_copy.__dict__[field].remove(f)
    121 122   continue
    122 123   if is_exists:
    123 124   del self_copy.__dict__[field]
    skipped 155 lines
Please wait...
Page is in error, reload to recover