Compare commits

...

5 Commits

Author SHA1 Message Date
Xonshiz 014fb35660 Added License file
- License file added
- readme updated
- Version bumped
2021-01-13 23:19:03 +05:30
Xonshiz 613f465ea2 Addedsome information for runnign python version. 2021-01-13 22:26:47 +05:30
Xonshiz a4c1305971 Update .travis.yml 2021-01-13 22:01:15 +05:30
Xonshiz 75de028c36 Added arguments for build 2021-01-13 21:51:11 +05:30
Xonshiz e4cf6ff992 added requirements.txt 2021-01-13 21:19:32 +05:30
6 changed files with 57 additions and 24 deletions

View File

@ -2,14 +2,13 @@ matrix:
include:
- language: python
python:
- 2.6
- 2.7
dist: trusty
install:
- "pip install bs4"
- "pip install pathlib"
- "pip install -r requirements.txt"
script:
- cd src
- python __main__.py
- python __main__.py --build
- cd ..
notifications:
email:
@ -19,11 +18,10 @@ matrix:
- 3.5
dist: trusty
install:
- "pip install bs4"
- "pip install pathlib"
- "pip install -r requirements.txt"
script:
- cd src
- python __main__.py
- python __main__.py --build
- cd ..
notifications:
email:
@ -37,13 +35,13 @@ matrix:
- "pip install --upgrade pip"
install:
- "python --version"
- "pip install bs4"
- "pip install pathlib"
- "pip install -r requirements.txt"
- "pip install pyinstaller"
script:
- cd src
- python __main__.py
- python __main__.py --build
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_linux"
- ls
- cd ..
notifications:
email:
@ -60,7 +58,7 @@ matrix:
overwrite: true
api_key: $GITHUB_TOKEN
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
draft: false
on:
@ -75,13 +73,13 @@ matrix:
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- "pip install bs4"
- "pip install pathlib"
- "pip install -r requirements.txt"
- "pip install pyinstaller"
script:
- cd src
- python __main__.py
- python __main__.py --build
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl.exe"
- ls
- cd ..
notifications:
email:
@ -98,7 +96,7 @@ matrix:
overwrite: true
api_key: $GITHUB_TOKEN
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
draft: false
on:
@ -110,14 +108,13 @@ matrix:
- python3 --version
- python3 -m pip install --upgrade pip
install:
- "pip install bs4"
- "pip install pathlib"
- "pip install -r requirements.txt"
- "pip install pyinstaller"
script:
- cd src
- python3 __main__.py
- python3 __main__.py --build
- pyinstaller --onefile --hidden-import=queue "__main__.py" -n "new_movies_123_dl_osx"
- export newMoviesVersion=`cat version.txt`
- ls
- cd ..
notifications:
email:
@ -133,7 +130,7 @@ matrix:
overwrite: true
api_key: $GITHUB_TOKEN
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
draft: false
on:

22
LICENSE Normal file
View File

@ -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.

View File

@ -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
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.
- 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.
- 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.

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
bs4
pathlib
requests

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "2021.01.12"
__version__ = "2021.01.13"

View File

@ -15,7 +15,11 @@ from bs4 import BeautifulSoup
class Movies:
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 = []
related_episodes = []
url = None