Skip to content

Commit

Permalink
Added the ability to scrape a single comic [#559]
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed Mar 1, 2021
1 parent cbfff98 commit d7d7c65
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 1 deletion.
@@ -0,0 +1 @@
<p>comic-scraping-detail works!</p>
@@ -0,0 +1,39 @@
/*
* ComiXed - A digital comic book library management application.
* Copyright (C) 2020, The ComiXed Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses>
*/

import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComicScrapingDetailComponent } from './comic-scraping-detail.component';

describe('ComicScrapingDetailComponent', () => {
let component: ComicScrapingDetailComponent;
let fixture: ComponentFixture<ComicScrapingDetailComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ComicScrapingDetailComponent]
}).compileComponents();

fixture = TestBed.createComponent(ComicScrapingDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
}));

it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,30 @@
/*
* ComiXed - A digital comic book library management application.
* Copyright (C) 2020, The ComiXed Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses>
*/

import { Component, OnInit } from '@angular/core';

@Component({
selector: 'cx-comic-scraping-detail',
templateUrl: './comic-scraping-detail.component.html',
styleUrls: ['./comic-scraping-detail.component.scss']
})
export class ComicScrapingDetailComponent implements OnInit {
constructor() {}

ngOnInit(): void {}
}
4 changes: 3 additions & 1 deletion comixed-web/src/app/library/library.module.ts
Expand Up @@ -68,6 +68,7 @@ import { DisplayEffects } from '@app/library/effects/display.effects';
import { ComicDisplayOptionsComponent } from './components/comic-display-options/comic-display-options.component';
import { MatSliderModule } from '@angular/material/slider';
import { MatListModule } from '@angular/material/list';
import { ComicScrapingDetailComponent } from './components/comic-scraping-detail/comic-scraping-detail.component';

@NgModule({
declarations: [
Expand All @@ -85,7 +86,8 @@ import { MatListModule } from '@angular/material/list';
ComicTitlePipe,
ComicPageUrlPipe,
AllComicsComponent,
ComicDisplayOptionsComponent
ComicDisplayOptionsComponent,
ComicScrapingDetailComponent
],
imports: [
CommonModule,
Expand Down

0 comments on commit d7d7c65

Please sign in to comment.