Compare commits
5 Commits
b07bfd3593
...
014fb35660
Author | SHA1 | Date |
---|---|---|
Xonshiz | 014fb35660 | |
Xonshiz | 613f465ea2 | |
Xonshiz | a4c1305971 | |
Xonshiz | 75de028c36 | |
Xonshiz | e4cf6ff992 |
37
.travis.yml
37
.travis.yml
|
@ -2,14 +2,13 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- language: python
|
- language: python
|
||||||
python:
|
python:
|
||||||
- 2.6
|
- 2.7
|
||||||
dist: trusty
|
dist: trusty
|
||||||
install:
|
install:
|
||||||
- "pip install bs4"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install pathlib"
|
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- python __main__.py
|
- python __main__.py --build
|
||||||
- cd ..
|
- cd ..
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -19,11 +18,10 @@ matrix:
|
||||||
- 3.5
|
- 3.5
|
||||||
dist: trusty
|
dist: trusty
|
||||||
install:
|
install:
|
||||||
- "pip install bs4"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install pathlib"
|
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- python __main__.py
|
- python __main__.py --build
|
||||||
- cd ..
|
- cd ..
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -37,13 +35,13 @@ matrix:
|
||||||
- "pip install --upgrade pip"
|
- "pip install --upgrade pip"
|
||||||
install:
|
install:
|
||||||
- "python --version"
|
- "python --version"
|
||||||
- "pip install bs4"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install pathlib"
|
|
||||||
- "pip install pyinstaller"
|
- "pip install pyinstaller"
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- python __main__.py
|
- python __main__.py --build
|
||||||
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_linux"
|
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_linux"
|
||||||
|
- ls
|
||||||
- cd ..
|
- cd ..
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -60,7 +58,7 @@ matrix:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
api_key: $GITHUB_TOKEN
|
api_key: $GITHUB_TOKEN
|
||||||
name: "new_movies_123_dl"
|
name: "new_movies_123_dl"
|
||||||
file: "new_movies_123_dl/dist/new_movies_123_dl_linux"
|
file: "src/dist/new_movies_123_dl_linux"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
draft: false
|
draft: false
|
||||||
on:
|
on:
|
||||||
|
@ -75,13 +73,13 @@ matrix:
|
||||||
- python -m pip install --upgrade pip
|
- python -m pip install --upgrade pip
|
||||||
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
|
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
|
||||||
install:
|
install:
|
||||||
- "pip install bs4"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install pathlib"
|
|
||||||
- "pip install pyinstaller"
|
- "pip install pyinstaller"
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- python __main__.py
|
- python __main__.py --build
|
||||||
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl.exe"
|
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl.exe"
|
||||||
|
- ls
|
||||||
- cd ..
|
- cd ..
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -98,7 +96,7 @@ matrix:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
api_key: $GITHUB_TOKEN
|
api_key: $GITHUB_TOKEN
|
||||||
name: "new_movies_123_dl"
|
name: "new_movies_123_dl"
|
||||||
file: "new_movies_123_dl/dist/new_movies_123_dl.exe"
|
file: "src/dist/new_movies_123_dl.exe"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
draft: false
|
draft: false
|
||||||
on:
|
on:
|
||||||
|
@ -110,14 +108,13 @@ matrix:
|
||||||
- python3 --version
|
- python3 --version
|
||||||
- python3 -m pip install --upgrade pip
|
- python3 -m pip install --upgrade pip
|
||||||
install:
|
install:
|
||||||
- "pip install bs4"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install pathlib"
|
|
||||||
- "pip install pyinstaller"
|
- "pip install pyinstaller"
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- python3 __main__.py
|
- python3 __main__.py --build
|
||||||
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_osx"
|
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_osx"
|
||||||
- export newMoviesVersion=`cat version.txt`
|
- ls
|
||||||
- cd ..
|
- cd ..
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -133,7 +130,7 @@ matrix:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
api_key: $GITHUB_TOKEN
|
api_key: $GITHUB_TOKEN
|
||||||
name: "new_movies_123_dl"
|
name: "new_movies_123_dl"
|
||||||
file: "new_movies_123_dl/dist/new_movies_123_dl_osx"
|
file: "src/dist/new_movies_123_dl_osx"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
draft: false
|
draft: false
|
||||||
on:
|
on:
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013-2021 Blackrock Digital LLC.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
11
readme.md
11
readme.md
|
@ -1,4 +1,4 @@
|
||||||
# [new-movies123.co Downloader](https://new-movies123.co/)
|
# [new-movies123.co Downloader](https://new-movies123.co/) | [![Build Status](https://travis-ci.com/Xonshiz/123MoviesRIpper.svg?branch=master)](https://travis-ci.com/github/Xonshiz/123MoviesRIpper) [![GitHub release](https://img.shields.io/github/v/release/xonshiz/123MoviesRIpper.svg?style=flat-square)](https://github.com/Xonshiz/123MoviesRIpper/releases/) [![Github All Releases](https://img.shields.io/github/downloads/xonshiz/123MoviesRIpper/total.svg?style=flat-square)](https://github.com/xonshiz/123MoviesRIpper/releases)
|
||||||
Script to bypass resolution and IP Limit on new-movies123.co
|
Script to bypass resolution and IP Limit on new-movies123.co
|
||||||
|
|
||||||
This script will download both, an mp4 1080p (or the next highest available stream) and subtitles (.srt).
|
This script will download both, an mp4 1080p (or the next highest available stream) and subtitles (.srt).
|
||||||
|
@ -12,9 +12,16 @@ Just download the proper binary and execute it. It'll ask for the URL, paste the
|
||||||
- I have not yet tested this with Movies and I'm 90% sure that it'll break.
|
- I have not yet tested this with Movies and I'm 90% sure that it'll break.
|
||||||
- Required "Youtube-dl" to download the video streams.
|
- Required "Youtube-dl" to download the video streams.
|
||||||
- It's best to provide URL of the 1st episode, because this script doesn't have proper validations and will throw errors if a file already exists.
|
- It's best to provide URL of the 1st episode, because this script doesn't have proper validations and will throw errors if a file already exists.
|
||||||
|
- If you can't find binary for your operating system, that means TravisCI had issues making a binary and you would need to install python and download the code from this repository and then run it yourself.
|
||||||
|
|
||||||
|
# Running Python Code
|
||||||
|
- Download the code from this repository.
|
||||||
|
- Open terminal and go into 123MoviesRipper directory and run this command: `pip install -r requirements.txt`.
|
||||||
|
- Then you can move into src directory in your terminal.
|
||||||
|
- When you're into src directory, run this command: `python __main__.py`
|
||||||
|
|
||||||
|
|
||||||
P.S: This is a script I hacked around last night, because amazon prime decided not to make season 3 of "D" available in most regions and this website was the only way to grab the episodes.
|
P.S: This is a script I hacked around last night, because amazon prime decided not to make season 3 of "Deutschland 83" available in most regions and this website was the only way to grab the episodes.
|
||||||
|
|
||||||
Welp, use with caution. And as usual, no harm intended via this script.
|
Welp, use with caution. And as usual, no harm intended via this script.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
bs4
|
||||||
|
pathlib
|
||||||
|
requests
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
__version__ = "2021.01.12"
|
__version__ = "2021.01.13"
|
||||||
|
|
|
@ -15,7 +15,11 @@ from bs4 import BeautifulSoup
|
||||||
|
|
||||||
class Movies:
|
class Movies:
|
||||||
def __init__(self, argv, cwd):
|
def __init__(self, argv, cwd):
|
||||||
print("Main")
|
if len(argv) > 0:
|
||||||
|
print("Arguments: {0}".format(argv))
|
||||||
|
if argv[0] == '--build':
|
||||||
|
print("Got the build working check. Exiting.")
|
||||||
|
sys.exit(0)
|
||||||
self.queue = []
|
self.queue = []
|
||||||
related_episodes = []
|
related_episodes = []
|
||||||
url = None
|
url = None
|
||||||
|
|
Loading…
Reference in New Issue